-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
34 lines (34 loc) · 903 Bytes
/
.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
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: [
'airbnb-base',
],
parserOptions: {
ecmaVersion: 12,
},
rules: {
indent: ['error', 4],
'no-multi-assign': ['error', { ignoreNonDeclaration: true }],
'no-plusplus': 'off',
'func-names': ['error', 'never'],
'no-multiple-empty-lines': 'error',
'space-before-function-paren': ['error', 'never'],
'no-console': 'off',
'no-empty': 'off',
'import/prefer-default-export': 'off',
'no-var': 0,
'no-useless-escape': 0,
'no-cond-assign': 0,
'prefer-const': 0,
'no-bitwise': 0,
'no-param-reassign': 0,
'no-restricted-syntax': 0,
'no-restricted-globals': 0,
'no-continue': 0,
'prefer-destructuring': 0,
},
};