/
.eslintrc.json
35 lines (35 loc) · 894 Bytes
/
.eslintrc.json
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
{
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"ecmaVersion": 2018
},
"env": {
"mocha": true,
"es6": true,
"node": true
},
"rules": {
"indent": ["error", 4],
"no-tabs": 0,
"max-len": ["off"],
"no-underscore-dangle": 0,
"class-methods-use-this": ["off"],
"no-nested-ternary": ["off"],
"quotes": ["error", "single"],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-use-before-define": [
"error",
{
"functions": false,
"classes": false
}
],
"arrow-parens": 0,
"implicit-arrow-linebreak": 0,
"function-paren-newline": 0,
"operator-linebreak": 0
}
}