Skip to content

Commit c3c59a6

Browse files
committed
Set the parserOptions.sourceType option
1 parent 5b8e19c commit c3c59a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
module.exports = {
33
parser: '@typescript-eslint/parser',
44
parserOptions: {
5+
sourceType: 'module',
56
jsx: true,
67
project: 'tsconfig.json'
78
},
@@ -117,6 +118,7 @@ module.exports = {
117118
],
118119
'@typescript-eslint/member-ordering': 'error',
119120
'@typescript-eslint/no-angle-bracket-type-assertion': 'error',
121+
'no-array-constructor': 'off',
120122
'@typescript-eslint/no-array-constructor': 'error',
121123
'@typescript-eslint/no-empty-interface': 'error',
122124

0 commit comments

Comments
 (0)