-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc
32 lines (32 loc) · 875 Bytes
/
.eslintrc
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
{
"env": {
"commonjs": true,
"es6": true,
"mocha": true,
"node": true
},
"extends": "airbnb-base",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2019
},
"rules": {
"global-require": 0,
"import/no-extraneous-dependencies": [2, { "devDependencies": true }],
"import/no-mutable-exports": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"linebreak-style": [ 2, "unix" ],
"no-console": [2, { "allow": ["info", "warn", "error"] }],
"no-multiple-empty-lines": [2, { "max": 2, "maxBOF": 2, "maxEOF": 2 }],
"no-param-reassign": [2, { "props": false }],
"no-restricted-syntax": [2, "ForInStatement"],
"no-underscore-dangle": 1,
"object-curly-newline": 0,
"padded-blocks": 0,
"quotes": [ 2, "single" ],
"semi": [ 2, "always" ]
}
}