-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
65 lines (65 loc) · 1.47 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"parserOptions": {
"ecmaVersion": 6,
"project": ["./tsconfig.json", "./cypress/tsconfig.json"]
},
"plugins": [
"jquery",
"@typescript-eslint"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jquery": true
},
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-typescript/base",
"plugin:jquery/deprecated",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"quotes": ["error", "single"],
"max-len": ["error", { "code": 120 }],
"brace-style": ["error", "1tbs"],
"no-nested-ternary": 0,
"import/no-cycle": 0,
"no-param-reassign": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-this-alias": 0,
"space-before-blocks": 2,
"jquery/no-fade": 0,
"jquery/no-show": 0,
"jquery/no-is": 0,
"jquery/no-css": 0,
"jquery/no-map": 0,
"jquery/no-hide": 0,
"jquery/no-html": 0,
"jquery/no-ready": 0,
"jquery/no-trigger": 0,
"jquery/no-text": 0,
"jquery/no-when": 0,
"jquery/no-ajax": 0,
"jquery/no-attr": 0,
"jquery/no-sizzle": 0,
"jquery/no-find": 0,
"jquery/no-val": 0,
"jquery/no-prop": 0,
"jquery/no-filter": 0,
"require-jsdoc": 0,
"jquery/no-each": 0,
"guard-for-in": 0,
"jquery/no-class": 0
}
}