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