|
1 | 1 | module.exports = { |
2 | 2 | parserOptions: { |
3 | 3 | ecmaFeatures: { |
4 | | - ecmaVersion: 6 |
| 4 | + ecmaVersion: 6, |
5 | 5 | }, |
6 | | - sourceType: 'module' |
| 6 | + sourceType: 'module', |
7 | 7 | }, |
8 | 8 | env: { |
9 | | - es6: true |
| 9 | + es6: true, |
10 | 10 | }, |
11 | 11 | plugins: ['github', 'prettier', 'eslint-comments', 'import', 'filenames', 'i18n-text', 'no-only-tests'], |
12 | 12 | rules: { |
@@ -41,8 +41,8 @@ module.exports = { |
41 | 41 | allowArray: true, |
42 | 42 | allowArrowFunction: false, |
43 | 43 | allowLiteral: true, |
44 | | - allowObject: true |
45 | | - } |
| 44 | + allowObject: true, |
| 45 | + }, |
46 | 46 | ], |
47 | 47 | 'import/no-commonjs': 'error', |
48 | 48 | 'import/no-deprecated': 'error', |
@@ -89,8 +89,8 @@ module.exports = { |
89 | 89 | 'no-only-tests/no-only-tests': [ |
90 | 90 | 'error', |
91 | 91 | { |
92 | | - block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'] |
93 | | - } |
| 92 | + block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'], |
| 93 | + }, |
94 | 94 | ], |
95 | 95 | 'no-redeclare': 'error', |
96 | 96 | 'no-regex-spaces': 'error', |
@@ -122,13 +122,13 @@ module.exports = { |
122 | 122 | 'use-isnan': 'error', |
123 | 123 | 'valid-typeof': 'error', |
124 | 124 | camelcase: ['error', {properties: 'always'}], |
125 | | - eqeqeq: ['error', 'smart'] |
| 125 | + eqeqeq: ['error', 'smart'], |
126 | 126 | }, |
127 | 127 | settings: { |
128 | 128 | 'import/resolver': { |
129 | 129 | node: { |
130 | | - extensions: ['.js', '.ts'] |
131 | | - } |
132 | | - } |
133 | | - } |
| 130 | + extensions: ['.js', '.ts'], |
| 131 | + }, |
| 132 | + }, |
| 133 | + }, |
134 | 134 | } |
0 commit comments