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