forked from artilleryio/artillery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (51 loc) · 1.09 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"extends": [
"plugin:prettier/recommended"
],
"env": {
"node": true,
"es6": true
},
"globals": {
"expect": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module" // Allows for the use of imports
},
"rules": {
// Ignore Rules
"strict": 0,
"no-underscore-dangle": 0,
"no-mixed-requires": 0,
"no-use-before-define": 0,
"no-process-exit": 0,
// Warnings
"no-debugger": 1,
"no-empty": 1,
"no-invalid-regexp": 1,
"no-warning-comments": 1,
"no-unused-expressions": 1,
"no-native-reassign": 1,
"no-fallthrough": 1,
"camelcase": 1,
"no-unused-vars": 1,
// Errors
"no-undef": 2,
"no-dupe-keys": 2,
"no-empty-character-class": 2,
"no-self-compare": 2,
"valid-typeof": 2,
"handle-callback-err": 2,
"no-shadow-restricted-names": 2,
"radix": 2,
"no-new-require": 2,
"no-mixed-spaces-and-tabs": 2,
"no-const-assign": "error",
// stylistic errors
"new-cap": 2,
"no-spaced-func": 2,
"semi-spacing": 2,
"quotes": [1, "single"]
}
}