forked from tinymce/tinymce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
62 lines (59 loc) · 1.39 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
{
"env": {
"browser": true,
"amd": true
},
"globals": {
"escape": true,
"unescape": true,
"Uint8Array": true
},
"rules": {
"camelcase": 0,
"strict": 0,
"eqeqeq": 0,
"no-underscore-dangle": 0,
"consistent-return": 0,
"no-shadow": 0,
"no-use-before-define": 0,
"brace-style": [2, "1tbs"],
"guard-for-in": 0,
"no-floating-decimal": 2,
"no-nested-ternary": 2,
"radix": 2,
"wrap-iife": [2, "inside"],
"consistent-this": [2, "self"],
"no-bitwise": 2,
"max-params": [2, 50],
"max-depth": [1, 8],
"max-statements": [2, 150],
"max-len": [1, 140, 4],
"eol-last": 0,
"quotes": 0,
"no-trailing-spaces": 2,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-dangle": ["error", "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": [2, {"int32Hint": false}],
"keyword-spacing": 2,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"space-before-blocks": [2, "always"],
"no-multiple-empty-lines": [1, {"max": 2}],
"object-curly-spacing": [2, "never"],
"operator-linebreak": [2, "after"],
"semi": [2, "always"],
"indent": 0,
"curly": [2, "all"],
"dot-notation": [2, {"allowKeywords": false}],
"no-else-return": 0,
"no-eval": 2,
"no-implied-eval": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-multi-spaces": 2,
"no-sequences": 2,
"no-new": 2,
"no-caller": 2
},
"extends": "eslint:recommended"
}