|
16 | 16 | */
|
17 | 17 |
|
18 | 18 | 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" |
43 | 47 | },
|
| 48 | + |
44 | 49 | 'env': {
|
45 | 50 | 'browser': true,
|
46 | 51 | 'node': true
|
|
0 commit comments