forked from DevExpress/testcafe-reporter-xunit
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
87 lines (87 loc) · 2.7 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"rules": {
"no-alert": "error",
"no-array-constructor": "error",
"no-caller": "error",
"no-catch-shadow": "error",
"no-console": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-implied-eval": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-multi-str": "error",
"no-native-reassign": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
"no-proto": "error",
"no-return-assign": "error",
"no-script-url": "error",
"no-sequences": "error",
"no-shadow": "error",
"no-shadow-restricted-names": "error",
"no-spaced-func": "error",
"no-undef-init": "error",
"no-unused-expressions": "error",
"no-with": "error",
"camelcase": "error",
"comma-spacing": "error",
"consistent-return": "error",
"eqeqeq": "error",
"semi": "error",
"semi-spacing": ["error", {"before": false, "after": true}],
"space-infix-ops": "error",
"space-unary-ops": ["error", { "words": true, "nonwords": false }],
"yoda": ["error", "never"],
"brace-style": ["error", "stroustrup", { "allowSingleLine": false }],
"eol-last": "error",
"indent": ["error", 4, { "SwitchCase": 1 }],
"key-spacing": ["error", { "align": "value" }],
"max-nested-callbacks": ["error", 3],
"new-parens": "error",
"newline-after-var": ["error", "always"],
"no-lonely-if": "error",
"no-multiple-empty-lines": ["error", { "max": 2 }],
"no-nested-ternary": "error",
"no-underscore-dangle": "off",
"no-unneeded-ternary": "error",
"object-curly-spacing": ["error", "always"],
"operator-assignment": ["error", "always"],
"quotes": ["error", "single", "avoid-escape"],
"keyword-spacing" : "error",
"space-before-blocks": ["error", "always"],
"prefer-const": "error",
"no-path-concat": "error",
"no-undefined": "error",
"strict": "off",
"curly": ["error", "multi-or-nest"],
"dot-notation": "off",
"no-else-return": "error",
"one-var": ["error", "never"],
"no-multi-spaces": ["error", {
"exceptions": {
"VariableDeclarator": true,
"AssignmentExpression": true
}
}],
"radix": "error",
"no-extra-parens": "error",
"new-cap": ["error", { "capIsNew": false }],
"space-before-function-paren": ["error", "always"],
"no-use-before-define" : ["error", "nofunc"],
"handle-callback-err": "off"
},
"env": {
"node": true,
"es6": true
}
}