forked from SolidInvoice/SolidInvoice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.17 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
{
"parser": "babel-eslint",
"parserOptions": {
"parser": "babel-eslint",
"sourceType": "module"
},
"root": true,
"env": {
"browser": true,
"node": true,
"mocha": true,
"jest": true,
"jasmine": true
},
"plugins": [
"backbone",
"no-jquery",
"lodash",
"jest",
"jasmine"
],
"extends": [
"eslint:recommended",
"plugin:lodash/recommended",
"plugin:backbone/recommended",
"plugin:no-jquery/deprecated-3.5"
],
"rules": {
"lodash/prefer-lodash-method": "off",
"no-else-return": "error",
"no-extra-bind": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
"radix": "error",
"yoda": ["error", "always"],
"no-shadow": "error",
"no-use-before-define": "error",
"quotes": ["error", "single"],
"lodash/import-scope": [2, "member"],
"backbone/no-collection-models": "off",
"no-jquery/variable-pattern": "error"
}
}