UNPKG

2.27 kBJSONView Raw
1{
2 "env": {
3 "browser": true
4 },
5 "globals": {
6 "ActiveXObject": true,
7 "define": true,
8 "eventjs": true,
9 "exports": true,
10 "fabric": true,
11 "require": true,
12 "Buffer": true,
13 "process": true,
14 "QUnit": true,
15 "assert": true
16 },
17 "rules": {
18 "semi": 2,
19 "eqeqeq": 2,
20 "no-eq-null": 2,
21 "no-eval": 2,
22 "no-unused-expressions": [
23 2,
24 {
25 "allowShortCircuit": true
26 }
27 ],
28 "guard-for-in": 0,
29 "wrap-iife": [
30 2,
31 "inside"
32 ],
33 "linebreak-style": [
34 2,
35 "unix"
36 ],
37 "no-loop-func": 2,
38 "no-multi-str": 2,
39 "no-caller": 2,
40 "no-empty": [
41 2,
42 {
43 "allowEmptyCatch": true
44 }
45 ],
46 "no-new": 0,
47 "no-plusplus": 0,
48 "strict": 0,
49 "dot-notation": 2,
50 "no-undef": 2,
51 "no-unused-vars": 2,
52 "max-depth": [
53 2,
54 4
55 ],
56 "max-statements": [
57 2,
58 150
59 ],
60 "curly": [
61 2,
62 "all"
63 ],
64 "keyword-spacing": [
65 2,
66 {}
67 ],
68 "space-infix-ops": 2,
69 "array-bracket-spacing": [
70 2,
71 "never"
72 ],
73 "comma-style": [
74 2,
75 "last"
76 ],
77 "camelcase": [
78 2,
79 {
80 "properties": "never"
81 }
82 ],
83 "brace-style": [
84 2,
85 "stroustrup",
86 {
87 "allowSingleLine": true
88 }
89 ],
90 "eol-last": 2,
91 "one-var": [
92 0,
93 "always"
94 ],
95 "quote-props": [
96 2,
97 "as-needed",
98 {
99 "keywords": true
100 }
101 ],
102 "key-spacing": [
103 2,
104 {
105 "beforeColon": false,
106 "afterColon": true,
107 "mode": "minimum"
108 }
109 ],
110 "space-unary-ops": [
111 2,
112 {
113 "words": true,
114 "nonwords": false
115 }
116 ],
117 "no-with": 2,
118 "no-multiple-empty-lines": 2,
119 "no-mixed-spaces-and-tabs": 2,
120 "no-trailing-spaces": 2,
121 "quotes": [
122 2,
123 "single"
124 ],
125 "indent": [
126 2,
127 2,
128 {
129 "SwitchCase": 1,
130 "VariableDeclarator": 2
131 }
132 ],
133 "consistent-this": [
134 2,
135 "_this"
136 ],
137 "valid-jsdoc": [
138 0,
139 {
140 "requireReturn": false
141 }
142 ],
143 "max-len": [
144 2,
145 120,
146 {
147 "ignoreComments": true
148 }
149 ]
150 }
151}