-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy path.eslintrc.js
50 lines (50 loc) · 1.32 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
module.exports = {
extends: [
'airbnb-base',
],
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2020,
requireConfigFile: false,
},
rules: {
'no-empty': 'off',
'no-unused-vars': 'off',
'linebreak-style': 'off',
'no-mixed-operators': 'off',
'max-classes-per-file': 'off',
'no-async-promise-executor': 'off',
'no-bitwise': 'off',
'no-undef': 'off',
'no-console': 'off',
'import/prefer-default-export': 'off',
'no-param-reassign': 'off',
'no-plusplus': 'off',
'class-methods-use-this': 'off',
'prefer-const': 'off',
'default-case': 'off',
'no-empty-pattern': 'off',
'no-shadow': 'off',
'no-return-assign': 'off',
'no-continue': 'off',
camelcase: 'off',
'no-cond-assign': 'off',
'no-restricted-globals': 'off',
'brace-style': 'off',
'consistent-return': 'off',
'no-loop-func': 'off',
'no-use-before-define': 'off',
'max-len': ['error', 300],
'object-curly-newline': 'off',
'padded-blocks': 'off',
'prefer-destructuring': 'off',
'no-restricted-syntax': 'off',
'no-nested-ternary': 'off',
'no-constant-condition': 'off',
'no-lonely-if': 'off',
'no-prototype-builtins': 'off',
'guard-for-in': 'off',
'no-underscore-dangle': 'off',
'no-restricted-properties': 'off',
},
};