diff options
| author | Fuwn <[email protected]> | 2022-09-21 18:29:52 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-09-21 18:29:52 -0700 |
| commit | 7051213e0fdbd47ab1c0e6e8a67bda4f9cfba323 (patch) | |
| tree | a0a59d1bf0b800635eb988a8c030cc0b0ed7c7fe /.eslintrc.cjs | |
| download | capybara-markets-7051213e0fdbd47ab1c0e6e8a67bda4f9cfba323.tar.xz capybara-markets-7051213e0fdbd47ab1c0e6e8a67bda4f9cfba323.zip | |
feat: initial commit
Diffstat (limited to '.eslintrc.cjs')
| -rw-r--r-- | .eslintrc.cjs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..3ccf435 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,20 @@ +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'], + plugins: ['svelte3', '@typescript-eslint'], + ignorePatterns: ['*.cjs'], + overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], + settings: { + 'svelte3/typescript': () => require('typescript') + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020 + }, + env: { + browser: true, + es2017: true, + node: true + } +}; |