-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
42 lines (42 loc) · 937 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
35
36
37
38
39
40
41
42
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'airbnb-base',
],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
rules: {
'arrow-parens': 0,
camelcase: 0,
'comma-dangle': 0,
'consistent-return': 0,
'guard-for-in': 0,
'import/prefer-default-export': 0,
'import/no-extraneous-dependencies': 0,
'import/no-cycle': 0,
'no-unused-expressions': 0,
'no-plusplus': 0,
'no-restricted-syntax': 0,
'no-else-return': 0,
'no-param-reassign': 0,
'no-self-compare': 0,
'no-nested-ternary': 0,
'no-cond-assign': 0,
'no-lonely-if': 0,
'no-multi-spaces': 0,
'no-irregular-whitespace': 0,
'operator-linebreak': [2, 'after'],
'object-curly-newline': 0,
'object-property-newline': 0,
'prefer-template': 0,
'prefer-const': 0,
semi: 0,
'max-len': 0,
'prefer-arrow-callback': 0
},
};