1 | {
|
2 | 'parser': 'babel-eslint',
|
3 |
|
4 | 'plugins': [
|
5 | 'import',
|
6 | 'react',
|
7 | ],
|
8 |
|
9 | 'extends': [
|
10 | 'eslint:recommended',
|
11 | 'plugin:import/errors',
|
12 | 'plugin:import/warnings',
|
13 | 'plugin:react/recommended',
|
14 | ],
|
15 |
|
16 | 'rules': {
|
17 | 'no-unused-vars': ['error', {
|
18 | 'vars': 'all',
|
19 | 'args': 'none',
|
20 | 'ignoreRestSiblings': true,
|
21 | }],
|
22 |
|
23 | 'comma-dangle': ['error', 'always-multiline'],
|
24 | },
|
25 | }
|
26 |
|
27 | /* vim: set ft=javascript : */
|