UNPKG

1.84 kBJSONView Raw
1{
2 "env": {
3 "es6": true,
4 "mocha": true,
5 "node": true
6 },
7 "globals": {},
8 "rules": {
9 "camelcase": [
10 2,
11 {
12 "properties": "never"
13 }
14 ],
15 "curly": [
16 2,
17 "all"
18 ],
19 "eqeqeq": 2,
20 "wrap-iife": 2,
21 "indent": [
22 2,
23 4,
24 {
25 "SwitchCase": 1
26 }
27 ],
28 "no-use-before-define": [
29 2,
30 {
31 "functions": false
32 }
33 ],
34 "new-cap": 2,
35 "no-caller": 2,
36 "no-empty": [
37 2,
38 {
39 "allowEmptyCatch": true
40 }
41 ],
42 "no-irregular-whitespace": 2,
43 "no-new": 2,
44 "quotes": [
45 2,
46 "single"
47 ],
48 "no-undef": 2,
49 "no-unused-vars": 2,
50 "strict": [
51 2,
52 "function"
53 ],
54 "no-eq-null": 2,
55 "keyword-spacing": [
56 2,
57 {}
58 ],
59 "space-before-blocks": [
60 2,
61 "always"
62 ],
63 "space-before-function-paren": [
64 2,
65 {
66 "anonymous": "ignore",
67 "named": "never"
68 }
69 ],
70 "array-bracket-spacing": [
71 2,
72 "never",
73 {}
74 ],
75 "space-in-parens": [
76 2,
77 "never"
78 ],
79 "quote-props": [
80 2,
81 "as-needed"
82 ],
83 "no-underscore-dangle": 2,
84 "key-spacing": [
85 2,
86 {
87 "beforeColon": false,
88 "afterColon": true
89 }
90 ],
91 "comma-style": [
92 2,
93 "last"
94 ],
95 "space-unary-ops": [
96 2,
97 {
98 "words": false,
99 "nonwords": false
100 }
101 ],
102 "space-infix-ops": 2,
103 "no-with": 2,
104 "no-multiple-empty-lines": 2,
105 "no-mixed-spaces-and-tabs": 2,
106 "no-trailing-spaces": 2,
107 "comma-dangle": [
108 2,
109 "never"
110 ],
111 "brace-style": [
112 2,
113 "1tbs",
114 {
115 "allowSingleLine": true
116 }
117 ],
118 "dot-notation": 2,
119 "yoda": [
120 2,
121 "never"
122 ]
123 }
124}