Skip to content

Commit d7e9e4f

Browse files
authored
Update index.js
1 parent 41c705b commit d7e9e4f

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

index.js

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,36 @@
1616
*/
1717

1818
module.exports = {
19-
'ecmaFeatures': {
20-
'arrowFunctions': true,
21-
'binaryLiterals': false,
22-
'blockBindings': true,
23-
'classes': true,
24-
'defaultParams': true,
25-
'destructuring': true,
26-
'forOf': true,
27-
'generators': true,
28-
'modules': false,
29-
'objectLiteralComputedProperties': true,
30-
'objectLiteralDuplicateProperties': false,
31-
'objectLiteralShorthandMethods': true,
32-
'objectLiteralShorthandProperties': true,
33-
'octalLiterals': false,
34-
'regexUFlag': false,
35-
'regexYFlag': false,
36-
'restParams': true,
37-
'spread': true,
38-
'superInFunctions': true,
39-
'templateStrings': true,
40-
'unicodePointEscapes': true,
41-
'globalReturn': false,
42-
'jsx': false
19+
'parserOptions': {
20+
'ecmaVersion': 8,
21+
'ecmaFeatures': {
22+
'arrowFunctions': true,
23+
'binaryLiterals': false,
24+
'blockBindings': true,
25+
'classes': true,
26+
'defaultParams': true,
27+
'destructuring': true,
28+
'forOf': true,
29+
'generators': true,
30+
'modules': false,
31+
'objectLiteralComputedProperties': true,
32+
'objectLiteralDuplicateProperties': false,
33+
'objectLiteralShorthandMethods': true,
34+
'objectLiteralShorthandProperties': true,
35+
'octalLiterals': false,
36+
'regexUFlag': false,
37+
'regexYFlag': false,
38+
'restParams': true,
39+
'spread': true,
40+
'superInFunctions': true,
41+
'templateStrings': true,
42+
'unicodePointEscapes': true,
43+
'globalReturn': false,
44+
'jsx': false
45+
},
46+
"sourceType": "module"
4347
},
48+
4449
'env': {
4550
'browser': true,
4651
'node': true

0 commit comments

Comments
 (0)