forked from fabricjs/fabric.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc_tests
58 lines (58 loc) · 1.2 KB
/
.eslintrc_tests
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
{
"env": {
"browser": true,
"node": true
},
"globals": {
"fabric": true,
"QUnit": true,
"assert": true,
"pixelmatch": true
},
"rules": {
/* new rules, unify test and src lint */
"no-useless-escape": 0,
"@typescript-eslint/no-empty-function": 0,
"no-mixed-spaces-and-tabs": 0,
"@typescript-eslint/no-extra-semi": 0,
"no-redeclare": 0,
"@typescript-eslint/no-unused-vars": 0,
"no-setter-return": 0,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-loss-of-precision": 0,
/* end of new rules */
"eqeqeq": 0,
"no-eq-null": 2,
"no-eval": 2,
"no-unused-expressions": 2,
"guard-for-in": 0,
"wrap-iife": [
2,
"any"
],
"quote-props": 0,
"linebreak-style": 2,
"no-loop-func": 2,
"no-multi-str": 0,
"new-cap": 2,
"no-caller": 2,
"no-empty": 0,
"no-new": 0,
"no-plusplus": 0,
"strict": 0,
"dot-notation": 0,
"no-undef": 2,
"no-unused-vars": 2,
"max-statements": 0,
"camelcase": 0,
"consistent-this": 0,
"max-len": [
0,
120,
{
"ignoreComments": true
}
]
}
}