|
1 | 1 | { |
2 | | - "rules": { |
3 | | - "space-before-function-paren": [2, { "named": "never" }], |
4 | | - "no-shadow-restricted-names": [2], |
5 | | - "computed-property-spacing": [2], |
6 | | - "no-empty-character-class": [2], |
7 | | - "no-irregular-whitespace": [2], |
8 | | - "no-unexpected-multiline": [2], |
9 | | - "no-multiple-empty-lines": [2], |
10 | | - "space-return-throw-case": [2], |
11 | | - "no-constant-condition": [2], |
12 | | - "no-extra-boolean-cast": [2], |
13 | | - "no-inner-declarations": [2], |
14 | | - "no-this-before-super": [2], |
15 | | - "no-use-before-define": [2], |
16 | | - "no-array-constructor": [2], |
17 | | - "object-curly-spacing": [2, "always"], |
18 | | - "no-floating-decimal": [2], |
19 | | - "no-warning-comments": [2], |
20 | | - "handle-callback-err": [2], |
21 | | - "no-unneeded-ternary": [2], |
22 | | - "operator-assignment": [2], |
23 | | - "space-before-blocks": [2], |
24 | | - "no-native-reassign": [2], |
25 | | - "no-trailing-spaces": [2], |
26 | | - "operator-linebreak": [2, "after"], |
27 | | - "consistent-return": [2], |
28 | | - "no-duplicate-case": [2], |
29 | | - "no-invalid-regexp": [2], |
30 | | - "no-negated-in-lhs": [2], |
31 | | - "constructor-super": [2], |
32 | | - "no-nested-ternary": [2], |
33 | | - "no-extend-native": [2], |
34 | | - "block-scoped-var": [2], |
35 | | - "no-control-regex": [2], |
36 | | - "no-sparse-arrays": [2], |
37 | | - "no-throw-literal": [2], |
38 | | - "no-return-assign": [2], |
39 | | - "no-const-assign": [2], |
40 | | - "no-class-assign": [2], |
41 | | - "no-extra-parens": [2], |
42 | | - "no-regex-spaces": [2], |
43 | | - "no-implied-eval": [2], |
44 | | - "no-useless-call": [2], |
45 | | - "no-self-compare": [2], |
46 | | - "no-octal-escape": [2], |
47 | | - "no-new-wrappers": [2], |
48 | | - "no-process-exit": [2], |
49 | | - "no-catch-shadow": [2], |
50 | | - "linebreak-style": [2], |
51 | | - "space-infix-ops": [2], |
52 | | - "space-unary-ops": [2], |
53 | | - "no-cond-assign": [2], |
54 | | - "no-func-assign": [2], |
55 | | - "no-unreachable": [2], |
56 | | - "accessor-pairs": [2], |
57 | | - "no-empty-label": [2], |
58 | | - "no-fallthrough": [2], |
59 | | - "no-path-concat": [2], |
60 | | - "no-new-require": [2], |
61 | | - "no-spaced-func": [2], |
62 | | - "no-unused-vars": [2], |
63 | | - "spaced-comment": [2], |
64 | | - "no-delete-var": [2], |
65 | | - "comma-spacing": [2], |
66 | | - "no-extra-semi": [2], |
67 | | - "no-extra-bind": [2], |
68 | | - "arrow-spacing": [2], |
69 | | - "prefer-spread": [2], |
70 | | - "no-new-object": [2], |
71 | | - "no-multi-str": [2], |
72 | | - "semi-spacing": [2], |
73 | | - "no-lonely-if": [2], |
74 | | - "dot-notation": [2], |
75 | | - "dot-location": [2, "property"], |
76 | | - "comma-dangle": [2, "never"], |
77 | | - "no-dupe-args": [2], |
78 | | - "no-dupe-keys": [2], |
79 | | - "no-ex-assign": [2], |
80 | | - "no-obj-calls": [2], |
81 | | - "valid-typeof": [2], |
82 | | - "default-case": [2], |
83 | | - "no-redeclare": [2], |
84 | | - "no-div-regex": [2], |
85 | | - "no-sequences": [2], |
86 | | - "no-label-var": [2], |
87 | | - "comma-style": [2], |
88 | | - "brace-style": [2], |
89 | | - "no-debugger": [2], |
90 | | - "quote-props": [2, "as-needed"], |
91 | | - "no-iterator": [2], |
92 | | - "no-new-func": [2], |
93 | | - "key-spacing": [2, { "align": "value" }], |
94 | | - "complexity": [2], |
95 | | - "new-parens": [2], |
96 | | - "no-eq-null": [2], |
97 | | - "no-bitwise": [2], |
98 | | - "wrap-iife": [2], |
99 | | - "no-caller": [2], |
100 | | - "use-isnan": [2], |
101 | | - "no-labels": [2], |
102 | | - "no-shadow": [2], |
103 | | - "camelcase": [2], |
104 | | - "eol-last": [2], |
105 | | - "no-octal": [2], |
106 | | - "no-empty": [2], |
107 | | - "no-alert": [2], |
108 | | - "no-proto": [2], |
109 | | - "no-undef": [2], |
110 | | - "no-eval": [2], |
111 | | - "no-with": [2], |
112 | | - "no-void": [2], |
113 | | - "max-len": [2, 80], |
114 | | - "new-cap": [2], |
115 | | - "eqeqeq": [2], |
116 | | - "no-new": [2], |
117 | | - "quotes": [2, "single"], |
118 | | - "indent": [2, 4], |
119 | | - "semi": [2, "always"], |
120 | | - "yoda": [2, "never"] |
121 | | - }, |
| 2 | + "extends": "eslint-config-postcss/es5", |
122 | 3 | "env": { |
123 | | - "mocha": true, |
124 | | - "node": true |
| 4 | + "mocha": true |
125 | 5 | } |
126 | 6 | } |
0 commit comments