-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
29 lines (29 loc) · 912 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
{
"extends": "strongloop",
"env": {
"browser": false,
"es6": true,
"node": true,
"commonjs": true,
"es2021": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 2020
},
"rules":{
"indent": ["error",4],
"comma-spacing": [2, { "before": false, "after": true }],
"quotes":"off",
"strict": [2, "never"],
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }],
"comma-dangle": ["error", "never"],
"max-len": "off",
"keyword-spacing": ["error", {"before":true,"after":true}],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"eol-last": ["error", "never"],
"space-before-function-paren": ["error", "never"],
"semi": [1, "always"]
}
}