|
1 | 1 | module.exports = {
|
2 |
| - extends: ['eslint:recommended', 'prettier'], |
3 |
| - parser: 'babel-eslint', |
4 |
| - plugins: ['import', 'prettier'], |
5 |
| - env: { |
6 |
| - node: true, |
7 |
| - es6: true, |
8 |
| - }, |
9 |
| - root: true, |
10 |
| - rules: { |
11 |
| - 'prettier/prettier': [ |
12 |
| - 'error', |
13 |
| - { trailingComma: 'es5', singleQuote: true, printWidth: 90, tabWidth: 4, }, |
14 |
| - ], |
| 2 | + extends: ['eslint:recommended', 'prettier'], |
| 3 | + parser: 'babel-eslint', |
| 4 | + plugins: ['import', 'prettier'], |
| 5 | + env: { |
| 6 | + node: true, |
| 7 | + es6: true, |
| 8 | + }, |
| 9 | + root: true, |
| 10 | + rules: { |
| 11 | + 'prettier/prettier': [ |
| 12 | + 'error', |
| 13 | + { trailingComma: 'es5', singleQuote: true, printWidth: 90, tabWidth: 4 }, |
| 14 | + ], |
15 | 15 |
|
16 |
| - 'import/order': [ |
17 |
| - 'error', |
18 |
| - { |
19 |
| - groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'], |
20 |
| - }, |
21 |
| - ], |
22 |
| - 'no-unused-vars': ['error', { vars: 'all', args: 'none' }], |
23 |
| - 'no-underscore-dangle': 'off', |
24 |
| - 'no-param-reassign': 'off', |
25 |
| - 'no-console': 'off', |
26 |
| - 'no-warning-comments': ['warn', { terms: ['fixme'], location: 'start' }], |
27 |
| - }, |
| 16 | + 'import/order': [ |
| 17 | + 'error', |
| 18 | + { |
| 19 | + groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'], |
| 20 | + }, |
| 21 | + ], |
| 22 | + 'no-unused-vars': ['error', { vars: 'all', args: 'none' }], |
| 23 | + 'no-underscore-dangle': 'off', |
| 24 | + 'no-param-reassign': 'off', |
| 25 | + 'no-console': 'off', |
| 26 | + 'no-warning-comments': ['warn', { terms: ['fixme'], location: 'start' }], |
| 27 | + }, |
28 | 28 | };
|
0 commit comments