1 | module.exports = {
|
2 | extends: 'airbnb-base',
|
3 | plugins: [
|
4 | 'import'
|
5 | ],
|
6 | rules: {
|
7 | 'max-len': ['error', 1000, 2, {
|
8 | ignoreUrls: true,
|
9 | ignoreComments: false,
|
10 | ignoreRegExpLiterals: true,
|
11 | ignoreStrings: true,
|
12 | ignoreTemplateLiterals: true,
|
13 | }],
|
14 | 'comma-dangle': ['error', {
|
15 | arrays: 'always-multiline',
|
16 | objects: 'always-multiline',
|
17 | imports: 'always-multiline',
|
18 | exports: 'always-multiline',
|
19 | functions: 'never',
|
20 | }],
|
21 | 'prefer-destructuring': ['off'],
|
22 | },
|
23 | globals: {
|
24 | 'window': true,
|
25 | 'document': true,
|
26 | }
|
27 | };
|