Skip to content

Commit 013505f

Browse files
Will this fix the lint errors?
1 parent b9c36fb commit 013505f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.eslintrc.cjs

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
2-
root: true,
32
parser: '@typescript-eslint/parser',
43
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
54
plugins: ['svelte3', '@typescript-eslint'],
5+
env: { browser: true, node: true },
66
ignorePatterns: ['*.cjs'],
77
overrides: [
88
{ files: ['*.svelte'], processor: 'svelte3/svelte3' },
@@ -19,13 +19,4 @@ module.exports = {
1919
'@typescript-eslint/no-unused-vars': 'error',
2020
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
2121
},
22-
parserOptions: {
23-
sourceType: 'module',
24-
ecmaVersion: 2019,
25-
},
26-
env: {
27-
browser: true,
28-
es2017: true,
29-
node: true,
30-
},
3122
};

0 commit comments

Comments
 (0)