forked from tagyoureit/nodejs-poolController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) · 1.08 KB
/
.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
36
37
38
39
40
41
42
43
44
45
{
/* See all the pre-defined configs here: https://www.npmjs.com/package/eslint-config-defaults */
"extends": [
"eslint:recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"env": {
"amd": true,
"browser": true,
"jquery": true,
"node": true,
"es6": true,
"worker": true
},
"rules": {
"eqeqeq": 2,
"comma-dangle": 1,
"no-console": 0,
"no-debugger": 1,
"no-extra-semi": 1,
"no-extra-parens": 0,
"no-irregular-whitespace": 0,
"no-undef": 0,
"no-unused-vars": 0,
"no-case-declaration": 0,
"no-prototype-builtins": 0,
"semi": 1,
"semi-spacing": 1,
"valid-jsdoc": [
2,
{
"requireReturn": false
}
],
"space-infix-ops": 2,
"keyword-spacing": ["error",{"before": true, "after": true}]
}
}