eslint-config-prettier 9.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +901 -1
- package/{bin → build/bin}/cli.js +5 -4
- package/{bin → build/bin}/validators.js +23 -0
- package/build/index.js +397 -0
- package/package.json +13 -4
- package/index.js +0 -225
- /package/{@typescript-eslint.js → build/@typescript-eslint.js} +0 -0
- /package/{babel.js → build/babel.js} +0 -0
- /package/{flowtype.js → build/flowtype.js} +0 -0
- /package/{prettier.js → build/prettier.js} +0 -0
- /package/{react.js → build/react.js} +0 -0
- /package/{standard.js → build/standard.js} +0 -0
- /package/{unicorn.js → build/unicorn.js} +0 -0
- /package/{vue.js → build/vue.js} +0 -0
package/index.js
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
const includeDeprecated = !process.env.ESLINT_CONFIG_PRETTIER_NO_DEPRECATED;
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
rules: {
|
|
7
|
-
// The following rules can be used in some cases. See the README for more
|
|
8
|
-
// information. (These are marked with `0` instead of `"off"` so that a
|
|
9
|
-
// script can distinguish them.)
|
|
10
|
-
"curly": 0,
|
|
11
|
-
"lines-around-comment": 0,
|
|
12
|
-
"max-len": 0,
|
|
13
|
-
"no-confusing-arrow": 0,
|
|
14
|
-
"no-mixed-operators": 0,
|
|
15
|
-
"no-tabs": 0,
|
|
16
|
-
"no-unexpected-multiline": 0,
|
|
17
|
-
"quotes": 0,
|
|
18
|
-
"@typescript-eslint/lines-around-comment": 0,
|
|
19
|
-
"@typescript-eslint/quotes": 0,
|
|
20
|
-
"babel/quotes": 0,
|
|
21
|
-
"vue/html-self-closing": 0,
|
|
22
|
-
"vue/max-len": 0,
|
|
23
|
-
|
|
24
|
-
// The rest are rules that you never need to enable when using Prettier.
|
|
25
|
-
"array-bracket-newline": "off",
|
|
26
|
-
"array-bracket-spacing": "off",
|
|
27
|
-
"array-element-newline": "off",
|
|
28
|
-
"arrow-parens": "off",
|
|
29
|
-
"arrow-spacing": "off",
|
|
30
|
-
"block-spacing": "off",
|
|
31
|
-
"brace-style": "off",
|
|
32
|
-
"comma-dangle": "off",
|
|
33
|
-
"comma-spacing": "off",
|
|
34
|
-
"comma-style": "off",
|
|
35
|
-
"computed-property-spacing": "off",
|
|
36
|
-
"dot-location": "off",
|
|
37
|
-
"eol-last": "off",
|
|
38
|
-
"func-call-spacing": "off",
|
|
39
|
-
"function-call-argument-newline": "off",
|
|
40
|
-
"function-paren-newline": "off",
|
|
41
|
-
"generator-star-spacing": "off",
|
|
42
|
-
"implicit-arrow-linebreak": "off",
|
|
43
|
-
"indent": "off",
|
|
44
|
-
"jsx-quotes": "off",
|
|
45
|
-
"key-spacing": "off",
|
|
46
|
-
"keyword-spacing": "off",
|
|
47
|
-
"linebreak-style": "off",
|
|
48
|
-
"max-statements-per-line": "off",
|
|
49
|
-
"multiline-ternary": "off",
|
|
50
|
-
"newline-per-chained-call": "off",
|
|
51
|
-
"new-parens": "off",
|
|
52
|
-
"no-extra-parens": "off",
|
|
53
|
-
"no-extra-semi": "off",
|
|
54
|
-
"no-floating-decimal": "off",
|
|
55
|
-
"no-mixed-spaces-and-tabs": "off",
|
|
56
|
-
"no-multi-spaces": "off",
|
|
57
|
-
"no-multiple-empty-lines": "off",
|
|
58
|
-
"no-trailing-spaces": "off",
|
|
59
|
-
"no-whitespace-before-property": "off",
|
|
60
|
-
"nonblock-statement-body-position": "off",
|
|
61
|
-
"object-curly-newline": "off",
|
|
62
|
-
"object-curly-spacing": "off",
|
|
63
|
-
"object-property-newline": "off",
|
|
64
|
-
"one-var-declaration-per-line": "off",
|
|
65
|
-
"operator-linebreak": "off",
|
|
66
|
-
"padded-blocks": "off",
|
|
67
|
-
"quote-props": "off",
|
|
68
|
-
"rest-spread-spacing": "off",
|
|
69
|
-
"semi": "off",
|
|
70
|
-
"semi-spacing": "off",
|
|
71
|
-
"semi-style": "off",
|
|
72
|
-
"space-before-blocks": "off",
|
|
73
|
-
"space-before-function-paren": "off",
|
|
74
|
-
"space-in-parens": "off",
|
|
75
|
-
"space-infix-ops": "off",
|
|
76
|
-
"space-unary-ops": "off",
|
|
77
|
-
"switch-colon-spacing": "off",
|
|
78
|
-
"template-curly-spacing": "off",
|
|
79
|
-
"template-tag-spacing": "off",
|
|
80
|
-
"wrap-iife": "off",
|
|
81
|
-
"wrap-regex": "off",
|
|
82
|
-
"yield-star-spacing": "off",
|
|
83
|
-
"@babel/object-curly-spacing": "off",
|
|
84
|
-
"@babel/semi": "off",
|
|
85
|
-
"@typescript-eslint/block-spacing": "off",
|
|
86
|
-
"@typescript-eslint/brace-style": "off",
|
|
87
|
-
"@typescript-eslint/comma-dangle": "off",
|
|
88
|
-
"@typescript-eslint/comma-spacing": "off",
|
|
89
|
-
"@typescript-eslint/func-call-spacing": "off",
|
|
90
|
-
"@typescript-eslint/indent": "off",
|
|
91
|
-
"@typescript-eslint/key-spacing": "off",
|
|
92
|
-
"@typescript-eslint/keyword-spacing": "off",
|
|
93
|
-
"@typescript-eslint/member-delimiter-style": "off",
|
|
94
|
-
"@typescript-eslint/no-extra-parens": "off",
|
|
95
|
-
"@typescript-eslint/no-extra-semi": "off",
|
|
96
|
-
"@typescript-eslint/object-curly-spacing": "off",
|
|
97
|
-
"@typescript-eslint/semi": "off",
|
|
98
|
-
"@typescript-eslint/space-before-blocks": "off",
|
|
99
|
-
"@typescript-eslint/space-before-function-paren": "off",
|
|
100
|
-
"@typescript-eslint/space-infix-ops": "off",
|
|
101
|
-
"@typescript-eslint/type-annotation-spacing": "off",
|
|
102
|
-
"babel/object-curly-spacing": "off",
|
|
103
|
-
"babel/semi": "off",
|
|
104
|
-
"flowtype/boolean-style": "off",
|
|
105
|
-
"flowtype/delimiter-dangle": "off",
|
|
106
|
-
"flowtype/generic-spacing": "off",
|
|
107
|
-
"flowtype/object-type-curly-spacing": "off",
|
|
108
|
-
"flowtype/object-type-delimiter": "off",
|
|
109
|
-
"flowtype/quotes": "off",
|
|
110
|
-
"flowtype/semi": "off",
|
|
111
|
-
"flowtype/space-after-type-colon": "off",
|
|
112
|
-
"flowtype/space-before-generic-bracket": "off",
|
|
113
|
-
"flowtype/space-before-type-colon": "off",
|
|
114
|
-
"flowtype/union-intersection-spacing": "off",
|
|
115
|
-
"react/jsx-child-element-spacing": "off",
|
|
116
|
-
"react/jsx-closing-bracket-location": "off",
|
|
117
|
-
"react/jsx-closing-tag-location": "off",
|
|
118
|
-
"react/jsx-curly-newline": "off",
|
|
119
|
-
"react/jsx-curly-spacing": "off",
|
|
120
|
-
"react/jsx-equals-spacing": "off",
|
|
121
|
-
"react/jsx-first-prop-new-line": "off",
|
|
122
|
-
"react/jsx-indent": "off",
|
|
123
|
-
"react/jsx-indent-props": "off",
|
|
124
|
-
"react/jsx-max-props-per-line": "off",
|
|
125
|
-
"react/jsx-newline": "off",
|
|
126
|
-
"react/jsx-one-expression-per-line": "off",
|
|
127
|
-
"react/jsx-props-no-multi-spaces": "off",
|
|
128
|
-
"react/jsx-tag-spacing": "off",
|
|
129
|
-
"react/jsx-wrap-multilines": "off",
|
|
130
|
-
"standard/array-bracket-even-spacing": "off",
|
|
131
|
-
"standard/computed-property-even-spacing": "off",
|
|
132
|
-
"standard/object-curly-even-spacing": "off",
|
|
133
|
-
"unicorn/empty-brace-spaces": "off",
|
|
134
|
-
"unicorn/no-nested-ternary": "off",
|
|
135
|
-
"unicorn/number-literal-case": "off",
|
|
136
|
-
"vue/array-bracket-newline": "off",
|
|
137
|
-
"vue/array-bracket-spacing": "off",
|
|
138
|
-
"vue/array-element-newline": "off",
|
|
139
|
-
"vue/arrow-spacing": "off",
|
|
140
|
-
"vue/block-spacing": "off",
|
|
141
|
-
"vue/block-tag-newline": "off",
|
|
142
|
-
"vue/brace-style": "off",
|
|
143
|
-
"vue/comma-dangle": "off",
|
|
144
|
-
"vue/comma-spacing": "off",
|
|
145
|
-
"vue/comma-style": "off",
|
|
146
|
-
"vue/dot-location": "off",
|
|
147
|
-
"vue/func-call-spacing": "off",
|
|
148
|
-
"vue/html-closing-bracket-newline": "off",
|
|
149
|
-
"vue/html-closing-bracket-spacing": "off",
|
|
150
|
-
"vue/html-end-tags": "off",
|
|
151
|
-
"vue/html-indent": "off",
|
|
152
|
-
"vue/html-quotes": "off",
|
|
153
|
-
"vue/key-spacing": "off",
|
|
154
|
-
"vue/keyword-spacing": "off",
|
|
155
|
-
"vue/max-attributes-per-line": "off",
|
|
156
|
-
"vue/multiline-html-element-content-newline": "off",
|
|
157
|
-
"vue/multiline-ternary": "off",
|
|
158
|
-
"vue/mustache-interpolation-spacing": "off",
|
|
159
|
-
"vue/no-extra-parens": "off",
|
|
160
|
-
"vue/no-multi-spaces": "off",
|
|
161
|
-
"vue/no-spaces-around-equal-signs-in-attribute": "off",
|
|
162
|
-
"vue/object-curly-newline": "off",
|
|
163
|
-
"vue/object-curly-spacing": "off",
|
|
164
|
-
"vue/object-property-newline": "off",
|
|
165
|
-
"vue/operator-linebreak": "off",
|
|
166
|
-
"vue/quote-props": "off",
|
|
167
|
-
"vue/script-indent": "off",
|
|
168
|
-
"vue/singleline-html-element-content-newline": "off",
|
|
169
|
-
"vue/space-in-parens": "off",
|
|
170
|
-
"vue/space-infix-ops": "off",
|
|
171
|
-
"vue/space-unary-ops": "off",
|
|
172
|
-
"vue/template-curly-spacing": "off",
|
|
173
|
-
|
|
174
|
-
...(includeDeprecated && {
|
|
175
|
-
// Removed in version 1.0.0.
|
|
176
|
-
// https://eslint.org/docs/latest/rules/generator-star
|
|
177
|
-
"generator-star": "off",
|
|
178
|
-
// Deprecated since version 4.0.0.
|
|
179
|
-
// https://github.com/eslint/eslint/pull/8286
|
|
180
|
-
"indent-legacy": "off",
|
|
181
|
-
// Removed in version 2.0.0.
|
|
182
|
-
// https://eslint.org/docs/latest/rules/no-arrow-condition
|
|
183
|
-
"no-arrow-condition": "off",
|
|
184
|
-
// Removed in version 1.0.0.
|
|
185
|
-
// https://eslint.org/docs/latest/rules/no-comma-dangle
|
|
186
|
-
"no-comma-dangle": "off",
|
|
187
|
-
// Removed in version 1.0.0.
|
|
188
|
-
// https://eslint.org/docs/latest/rules/no-reserved-keys
|
|
189
|
-
"no-reserved-keys": "off",
|
|
190
|
-
// Removed in version 1.0.0.
|
|
191
|
-
// https://eslint.org/docs/latest/rules/no-space-before-semi
|
|
192
|
-
"no-space-before-semi": "off",
|
|
193
|
-
// Deprecated since version 3.3.0.
|
|
194
|
-
// https://eslint.org/docs/rules/no-spaced-func
|
|
195
|
-
"no-spaced-func": "off",
|
|
196
|
-
// Removed in version 1.0.0.
|
|
197
|
-
// https://eslint.org/docs/latest/rules/no-wrap-func
|
|
198
|
-
"no-wrap-func": "off",
|
|
199
|
-
// Removed in version 1.0.0.
|
|
200
|
-
// https://eslint.org/docs/latest/rules/space-after-function-name
|
|
201
|
-
"space-after-function-name": "off",
|
|
202
|
-
// Removed in version 2.0.0.
|
|
203
|
-
// https://eslint.org/docs/latest/rules/space-after-keywords
|
|
204
|
-
"space-after-keywords": "off",
|
|
205
|
-
// Removed in version 1.0.0.
|
|
206
|
-
// https://eslint.org/docs/latest/rules/space-before-function-parentheses
|
|
207
|
-
"space-before-function-parentheses": "off",
|
|
208
|
-
// Removed in version 2.0.0.
|
|
209
|
-
// https://eslint.org/docs/latest/rules/space-before-keywords
|
|
210
|
-
"space-before-keywords": "off",
|
|
211
|
-
// Removed in version 1.0.0.
|
|
212
|
-
// https://eslint.org/docs/latest/rules/space-in-brackets
|
|
213
|
-
"space-in-brackets": "off",
|
|
214
|
-
// Removed in version 2.0.0.
|
|
215
|
-
// https://eslint.org/docs/latest/rules/space-return-throw-case
|
|
216
|
-
"space-return-throw-case": "off",
|
|
217
|
-
// Removed in version 0.10.0.
|
|
218
|
-
// https://eslint.org/docs/latest/rules/space-unary-word-ops
|
|
219
|
-
"space-unary-word-ops": "off",
|
|
220
|
-
// Deprecated since version 7.0.0.
|
|
221
|
-
// https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#700---2017-05-06
|
|
222
|
-
"react/jsx-space-before-closing": "off",
|
|
223
|
-
}),
|
|
224
|
-
},
|
|
225
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{vue.js → build/vue.js}
RENAMED
|
File without changes
|