-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc.json
28 lines (28 loc) · 976 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
{
"env": {
"browser": true
},
"rules": {
"arrow-body-style": "off",
"brace-style": [ "error", "stroustrup", { "allowSingleLine": true } ],
"consistent-return": "off",
"curly": "off",
"jsdoc/valid-types": "off",
"jsdoc/require-jsdoc": "off",
"keyword-spacing": "off",
"max-statements-per-line": [ "error", { "max": 2 } ],
"new-cap": [ "error", { "newIsCap": false, "capIsNew": false, "capIsNewExceptionPattern": "^(this|CryptoJS)\\.." } ],
"no-case-declarations": "off",
"no-cond-assign": "off",
"no-constant-condition": [ "error", { "checkLoops": false } ],
"no-eq-null": "off",
"no-extend-native": [ "error", { "exceptions": [ "Array", "Date", "Error", "Number", "String" ] } ],
"no-new": "off",
"no-prototype-builtins": "off",
"no-script-url": "off",
"no-template-curly-in-string": "off",
"no-warning-comments": [ 1, { "location": "start", "terms": [ "fixme" ] } ],
"one-var": "off",
"one-var-declaration-per-line": "off"
}
}