Skip to content

Commit adbf853

Browse files
authored
Remove redundant ecmaVersion and sourceType from parserOptions (#15)
These are project-specific, I don't think we should be defining these properties here, it should work without that.
1 parent 1f617c9 commit adbf853

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ module.exports = {
1111
],
1212
parser: '@typescript-eslint/parser',
1313
parserOptions: {
14-
ecmaVersion: 12,
15-
sourceType: 'module',
16-
17-
// These are needed for some of the typescript-eslint type-based linting rules
14+
// Needed for the typescript-eslint type-based linting rules
1815
project: ['./tsconfig.json'],
1916
},
2017
plugins: ['@typescript-eslint', 'n', 'simple-import-sort'],

0 commit comments

Comments
 (0)