UNPKG

4.64 kBPlain TextView Raw
1{
2 "env": {
3 "browser": true,
4 "node": true
5 },
6
7 "globals": {
8 "jQuery": true
9 },
10
11 "rules": {
12 "accessor-pairs": 2,
13 "array-bracket-spacing": 0,
14 "block-scoped-var": 0,
15 "brace-style": [2, "1tbs", { "allowSingleLine": true }],
16 "camelcase": 0,
17 "comma-dangle": [2, "never"],
18 "comma-spacing": [2, { "before": false, "after": true }],
19 "comma-style": [2, "last"],
20 "complexity": 0,
21 "computed-property-spacing": 0,
22 "consistent-return": 0,
23 "consistent-this": 0,
24 "constructor-super": 2,
25 "curly": [2, "multi-line"],
26 "default-case": 0,
27 "dot-location": [2, "property"],
28 "dot-notation": 0,
29 "eol-last": 2,
30 "eqeqeq": [1, "smart"],
31 "func-names": 0,
32 "func-style": 0,
33 "generator-star-spacing": [2, { "before": true, "after": true }],
34 "guard-for-in": 0,
35 "handle-callback-err": [2, "^(err|error)$" ],
36 "indent": [2, 2, { "SwitchCase": 1 }],
37 "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
38 "linebreak-style": 0,
39 "lines-around-comment": 0,
40 "max-nested-callbacks": 0,
41 "new-cap": [2, { "newIsCap": true, "capIsNew": false }],
42 "new-parens": 2,
43 "newline-after-var": 0,
44 "no-alert": 0,
45 "no-array-constructor": 2,
46 "no-caller": 2,
47 "no-catch-shadow": 0,
48 "no-cond-assign": 2,
49 "no-console": 0,
50 "no-constant-condition": 0,
51 "no-continue": 0,
52 "no-control-regex": 2,
53 "no-debugger": 2,
54 "no-delete-var": 2,
55 "no-div-regex": 0,
56 "no-dupe-args": 2,
57 "no-dupe-keys": 2,
58 "no-duplicate-case": 2,
59 "no-else-return": 0,
60 "no-empty": 0,
61 "no-empty-character-class": 2,
62 "no-empty-label": 2,
63 "no-eq-null": 0,
64 "no-eval": 2,
65 "no-ex-assign": 2,
66 "no-extend-native": 2,
67 "no-extra-bind": 2,
68 "no-extra-boolean-cast": 2,
69 "no-extra-parens": 0,
70 "no-extra-semi": 0,
71 "no-fallthrough": 2,
72 "no-floating-decimal": 2,
73 "no-func-assign": 2,
74 "no-implied-eval": 2,
75 "no-inline-comments": 0,
76 "no-inner-declarations": [2, "functions"],
77 "no-invalid-regexp": 2,
78 "no-irregular-whitespace": 2,
79 "no-iterator": 2,
80 "no-label-var": 2,
81 "no-labels": 2,
82 "no-lone-blocks": 2,
83 "no-lonely-if": 0,
84 "no-loop-func": 0,
85 "no-mixed-requires": 0,
86 "no-mixed-spaces-and-tabs": 2,
87 "no-multi-spaces": 2,
88 "no-multi-str": 2,
89 "no-multiple-empty-lines": [2, { "max": 1 }],
90 "no-native-reassign": 2,
91 "no-negated-in-lhs": 2,
92 "no-nested-ternary": 0,
93 "no-new": 2,
94 "no-new-func": 0,
95 "no-new-object": 2,
96 "no-new-require": 2,
97 "no-new-wrappers": 2,
98 "no-obj-calls": 2,
99 "no-octal": 2,
100 "no-octal-escape": 2,
101 "no-param-reassign": 0,
102 "no-path-concat": 0,
103 "no-process-env": 0,
104 "no-process-exit": 0,
105 "no-proto": 0,
106 "no-redeclare": 2,
107 "no-regex-spaces": 2,
108 "no-restricted-modules": 0,
109 "no-return-assign": 2,
110 "no-script-url": 0,
111 "no-self-compare": 2,
112 "no-sequences": 2,
113 "no-shadow": 0,
114 "no-shadow-restricted-names": 2,
115 "no-spaced-func": 2,
116 "no-sparse-arrays": 2,
117 "no-sync": 0,
118 "no-ternary": 0,
119 "no-this-before-super": 2,
120 "no-throw-literal": 2,
121 "no-trailing-spaces": 2,
122 "no-undef": 2,
123 "no-undef-init": 2,
124 "no-undefined": 0,
125 "no-underscore-dangle": 0,
126 "no-unexpected-multiline": 2,
127 "no-unneeded-ternary": 2,
128 "no-unreachable": 2,
129 "no-unused-expressions": 0,
130 "no-unused-vars": [2, { "vars": "all", "args": "none" }],
131 "no-use-before-define": 0,
132 "no-var": 0,
133 "no-void": 0,
134 "no-warning-comments": 0,
135 "no-with": 2,
136 "object-curly-spacing": 0,
137 "object-shorthand": 0,
138 "one-var": [2, { "initialized": "never" }],
139 "operator-assignment": 0,
140 "operator-linebreak": [2, "after", { "overrides": { "?": "before", ":": "before" } }],
141 "padded-blocks": 0,
142 "prefer-const": 0,
143 "quote-props": 0,
144 "quotes": [2, "single", "avoid-escape"],
145 "radix": 2,
146 "semi": [2, "never"],
147 "semi-spacing": 0,
148 "sort-vars": 0,
149 "space-after-keywords": [2, "always"],
150 "space-before-blocks": [2, "always"],
151 "space-before-function-paren": [2, "always"],
152 "space-in-parens": [2, "never"],
153 "space-infix-ops": 2,
154 "space-return-throw-case": 2,
155 "space-unary-ops": [2, { "words": true, "nonwords": false }],
156 "spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
157 "strict": 0,
158 "use-isnan": 2,
159 "valid-jsdoc": 0,
160 "valid-typeof": 2,
161 "vars-on-top": 0,
162 "wrap-iife": [2, "any"],
163 "wrap-regex": 0,
164 "yoda": [2, "never"]
165 }
166}