1 | module.exports = {
|
2 | extends: ['eslint:recommended'],
|
3 | parserOptions: {
|
4 | sourceType: 'module',
|
5 | ecmaVersion: 2020,
|
6 | },
|
7 | plugins: ['import', 'babel'],
|
8 | rules: {
|
9 | 'no-prototype-builtins': 0,
|
10 | 'no-unused-vars': 0,
|
11 | 'babel/new-cap': 0,
|
12 | 'babel/no-invalid-this': 2,
|
13 | 'babel/object-curly-spacing': [2, 'always'],
|
14 | 'babel/quotes': 0,
|
15 | 'babel/semi': 0,
|
16 | 'babel/no-unused-expressions': 2,
|
17 | 'babel/valid-typeof': 0,
|
18 | 'import/no-unresolved': 2,
|
19 | 'import/no-mutable-exports': 2,
|
20 | },
|
21 | };
|