UNPKG

3.99 kBJSONView Raw
1{
2 "env": {
3 "browser": false,
4 "node": false,
5 "amd": false
6 },
7
8 "rules": {
9 "no-alert": 2,
10 "no-array-constructor": 2,
11 "no-bitwise": 0,
12 "no-caller": 2,
13 "no-catch-shadow": 2,
14 "no-comma-dangle": 2,
15 "no-cond-assign": 2,
16 "no-console": 2,
17 "no-constant-condition": 2,
18 "no-control-regex": 2,
19 "no-debugger": 2,
20 "no-delete-var": 2,
21 "no-div-regex": 0,
22 "no-dupe-keys": 2,
23 "no-else-return": 0,
24 "no-empty": 2,
25 "no-empty-class": 2,
26 "no-empty-label": 2,
27 "no-eq-null": 0,
28 "no-eval": 2,
29 "no-ex-assign": 2,
30 "no-extend-native": 2,
31 "no-extra-bind": 2,
32 "no-extra-boolean-cast": 2,
33 "no-extra-parens": 0,
34 "no-extra-semi": 2,
35 "no-extra-strict": 2,
36 "no-fallthrough": 2,
37 "no-floating-decimal": 0,
38 "no-func-assign": 2,
39 "no-implied-eval": 2,
40 "no-inner-declarations": [2, "functions"],
41 "no-invalid-regexp": 2,
42 "no-iterator": 2,
43 "no-label-var": 2,
44 "no-labels": 2,
45 "no-lone-blocks": 2,
46 "no-lonely-if": 0,
47 "no-loop-func": 2,
48 "no-mixed-requires": [0, false],
49 "no-mixed-spaces-and-tabs": [2, false],
50 "no-multi-str": 2,
51 "no-native-reassign": 2,
52 "no-negated-in-lhs": 2,
53 "no-nested-ternary": 0,
54 "no-new": 2,
55 "no-new-func": 2,
56 "no-new-object": 2,
57 "no-new-require": 0,
58 "no-new-wrappers": 2,
59 "no-obj-calls": 2,
60 "no-octal": 2,
61 "no-octal-escape": 2,
62 "no-path-concat": 0,
63 "no-plusplus": 0,
64 "no-process-exit": 2,
65 "no-proto": 2,
66 "no-redeclare": 2,
67 "no-regex-spaces": 2,
68 "no-reserved-keys": 0,
69 "no-restricted-modules": 0,
70 "no-return-assign": 2,
71 "no-script-url": 2,
72 "no-self-compare": 0,
73 "no-sequences": 2,
74 "no-shadow": 2,
75 "no-shadow-restricted-names": 2,
76 "no-space-before-semi": 2,
77 "no-spaced-func": 2,
78 "no-sparse-arrays": 2,
79 "no-sync": 0,
80 "no-ternary": 0,
81 "no-trailing-spaces": 2,
82 "no-undef": 2,
83 "no-undef-init": 2,
84 "no-undefined": 0,
85 "no-underscore-dangle": 2,
86 "no-unreachable": 2,
87 "no-unused-expressions": 2,
88 "no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
89 "no-use-before-define": 2,
90 "no-void": 0,
91 "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
92 "no-with": 2,
93 "no-wrap-func": 2,
94
95 "block-scoped-var": 0,
96 "brace-style": [0, "1tbs"],
97 "camelcase": 2,
98 "complexity": [0, 11],
99 "consistent-return": 2,
100 "consistent-this": [0, "that"],
101 "curly": [2, "all"],
102 "default-case": 0,
103 "dot-notation": 2,
104 "eol-last": 2,
105 "eqeqeq": 2,
106 "func-names": 0,
107 "func-style": [0, "declaration"],
108 "global-strict": [2, "never"],
109 "guard-for-in": 0,
110 "max-depth": [0, 4],
111 "max-len": [0, 80, 4],
112 "max-nested-callbacks": [0, 2],
113 "max-params": [0, 3],
114 "max-statements": [0, 10],
115 "handle-callback-err": 0,
116 "new-cap": 2,
117 "new-parens": 2,
118 "one-var": 0,
119 "quote-props": 0,
120 "quotes": [2, "double"],
121 "radix": 0,
122 "semi": 2,
123 "sort-vars": 0,
124 "space-after-keywords": [0, "always"],
125 "space-in-brackets": [0, "never"],
126 "space-in-parens": [0, "never"],
127 "space-infix-ops": 2,
128 "space-return-throw-case": 2,
129 "space-unary-word-ops": 0,
130 "strict": 2,
131 "use-isnan": 2,
132 "valid-jsdoc": 0,
133 "valid-typeof": 2,
134 "vars-on-top": 0,
135 "wrap-iife": 0,
136 "wrap-regex": 0,
137 "yoda": [2, "never"]
138 }
139}