@storm-software/oxlint 0.0.6 → 0.0.8
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 +1 -1
- package/dist/{chunk-66XRZUEY.js → chunk-JT2UTBZO.js} +1 -3
- package/dist/chunk-NHRJPOXA.js +196 -0
- package/dist/{chunk-3ZEETRNX.js → chunk-OD5Q5CZT.js} +3 -3
- package/dist/configs/next.cjs +1 -3
- package/dist/configs/next.js +1 -1
- package/dist/configs/prettier.cjs +181 -1
- package/dist/configs/prettier.js +1 -1
- package/dist/index.cjs +183 -5
- package/dist/index.js +4 -4
- package/dist/preset.cjs +183 -5
- package/dist/preset.js +3 -3
- package/package.json +5 -5
- package/dist/chunk-GEMVBBN7.js +0 -16
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import config from 'eslint-plugin-prettier/recommended';
|
|
2
|
+
|
|
3
|
+
// src/configs/prettier.ts
|
|
4
|
+
var missingPluginPrefixes = [
|
|
5
|
+
"@babel",
|
|
6
|
+
"@stylistic",
|
|
7
|
+
"babel",
|
|
8
|
+
"flowtype",
|
|
9
|
+
"standard"
|
|
10
|
+
];
|
|
11
|
+
var missingEslintRules = /* @__PURE__ */ new Set([
|
|
12
|
+
"array-bracket-newline",
|
|
13
|
+
"array-bracket-spacing",
|
|
14
|
+
"array-element-newline",
|
|
15
|
+
"arrow-parens",
|
|
16
|
+
"arrow-spacing",
|
|
17
|
+
"block-spacing",
|
|
18
|
+
"brace-style",
|
|
19
|
+
"comma-dangle",
|
|
20
|
+
"comma-spacing",
|
|
21
|
+
"comma-style",
|
|
22
|
+
"computed-property-spacing",
|
|
23
|
+
"dot-location",
|
|
24
|
+
"eol-last",
|
|
25
|
+
"func-call-spacing",
|
|
26
|
+
"function-call-argument-newline",
|
|
27
|
+
"function-paren-newline",
|
|
28
|
+
"generator-star",
|
|
29
|
+
"generator-star-spacing",
|
|
30
|
+
"implicit-arrow-linebreak",
|
|
31
|
+
"indent",
|
|
32
|
+
"indent-legacy",
|
|
33
|
+
"jsx-quotes",
|
|
34
|
+
"key-spacing",
|
|
35
|
+
"keyword-spacing",
|
|
36
|
+
"linebreak-style",
|
|
37
|
+
"lines-around-comment",
|
|
38
|
+
"max-len",
|
|
39
|
+
"max-statements-per-line",
|
|
40
|
+
"multiline-ternary",
|
|
41
|
+
"newline-per-chained-call",
|
|
42
|
+
"new-parens",
|
|
43
|
+
"no-arrow-condition",
|
|
44
|
+
"no-comma-dangle",
|
|
45
|
+
"no-confusing-arrow",
|
|
46
|
+
"no-extra-parens",
|
|
47
|
+
"no-extra-semi",
|
|
48
|
+
"no-floating-decimal",
|
|
49
|
+
"no-mixed-operators",
|
|
50
|
+
"no-mixed-spaces-and-tabs",
|
|
51
|
+
"no-multi-spaces",
|
|
52
|
+
"no-multiple-empty-lines",
|
|
53
|
+
"no-space-before-semi",
|
|
54
|
+
"no-spaced-func",
|
|
55
|
+
"no-tabs",
|
|
56
|
+
"no-trailing-spaces",
|
|
57
|
+
"no-whitespace-before-property",
|
|
58
|
+
"no-wrap-func",
|
|
59
|
+
"nonblock-statement-body-position",
|
|
60
|
+
"object-curly-newline",
|
|
61
|
+
"object-curly-spacing",
|
|
62
|
+
"object-property-newline",
|
|
63
|
+
"one-var-declaration-per-line",
|
|
64
|
+
"operator-linebreak",
|
|
65
|
+
"padded-blocks",
|
|
66
|
+
"quote-props",
|
|
67
|
+
"quotes",
|
|
68
|
+
"rest-spread-spacing",
|
|
69
|
+
"semi",
|
|
70
|
+
"semi-spacing",
|
|
71
|
+
"semi-style",
|
|
72
|
+
"space-after-function-name",
|
|
73
|
+
"space-after-keywords",
|
|
74
|
+
"space-before-blocks",
|
|
75
|
+
"space-before-function-paren",
|
|
76
|
+
"space-before-function-parentheses",
|
|
77
|
+
"space-before-keywords",
|
|
78
|
+
"space-in-brackets",
|
|
79
|
+
"space-infix-ops",
|
|
80
|
+
"space-in-parens",
|
|
81
|
+
"space-return-throw-case",
|
|
82
|
+
"space-unary-ops",
|
|
83
|
+
"space-unary-word-ops",
|
|
84
|
+
"switch-colon-spacing",
|
|
85
|
+
"template-curly-spacing",
|
|
86
|
+
"template-tag-spacing",
|
|
87
|
+
"wrap-iife",
|
|
88
|
+
"wrap-regex",
|
|
89
|
+
"yield-star-spacing"
|
|
90
|
+
]);
|
|
91
|
+
var missingPluginRules = /* @__PURE__ */ new Set([
|
|
92
|
+
"jsdoc/check-alignment",
|
|
93
|
+
"react/jsx-child-element-spacing",
|
|
94
|
+
"react/jsx-closing-bracket-location",
|
|
95
|
+
"react/jsx-closing-tag-location",
|
|
96
|
+
"react/jsx-curly-newline",
|
|
97
|
+
"react/jsx-curly-spacing",
|
|
98
|
+
"react/jsx-equals-spacing",
|
|
99
|
+
"react/jsx-first-prop-new-line",
|
|
100
|
+
"react/jsx-indent",
|
|
101
|
+
"react/jsx-indent-props",
|
|
102
|
+
"react/jsx-max-props-per-line",
|
|
103
|
+
"react/jsx-newline",
|
|
104
|
+
"react/jsx-one-expression-per-line",
|
|
105
|
+
"react/jsx-props-no-multi-spaces",
|
|
106
|
+
"react/jsx-space-before-closing",
|
|
107
|
+
"react/jsx-tag-spacing",
|
|
108
|
+
"react/jsx-wrap-multilines",
|
|
109
|
+
"typescript/block-spacing",
|
|
110
|
+
"typescript/brace-style",
|
|
111
|
+
"typescript/comma-dangle",
|
|
112
|
+
"typescript/comma-spacing",
|
|
113
|
+
"typescript/func-call-spacing",
|
|
114
|
+
"typescript/indent",
|
|
115
|
+
"typescript/key-spacing",
|
|
116
|
+
"typescript/keyword-spacing",
|
|
117
|
+
"typescript/lines-around-comment",
|
|
118
|
+
"typescript/member-delimiter-style",
|
|
119
|
+
"typescript/no-extra-parens",
|
|
120
|
+
"typescript/no-extra-semi",
|
|
121
|
+
"typescript/object-curly-spacing",
|
|
122
|
+
"typescript/quotes",
|
|
123
|
+
"typescript/semi",
|
|
124
|
+
"typescript/space-before-blocks",
|
|
125
|
+
"typescript/space-before-function-paren",
|
|
126
|
+
"typescript/space-infix-ops",
|
|
127
|
+
"typescript/type-annotation-spacing",
|
|
128
|
+
"unicorn/template-indent",
|
|
129
|
+
"vue/array-bracket-newline",
|
|
130
|
+
"vue/array-bracket-spacing",
|
|
131
|
+
"vue/array-element-newline",
|
|
132
|
+
"vue/arrow-spacing",
|
|
133
|
+
"vue/block-spacing",
|
|
134
|
+
"vue/block-tag-newline",
|
|
135
|
+
"vue/brace-style",
|
|
136
|
+
"vue/comma-dangle",
|
|
137
|
+
"vue/comma-spacing",
|
|
138
|
+
"vue/comma-style",
|
|
139
|
+
"vue/dot-location",
|
|
140
|
+
"vue/func-call-spacing",
|
|
141
|
+
"vue/html-closing-bracket-newline",
|
|
142
|
+
"vue/html-closing-bracket-spacing",
|
|
143
|
+
"vue/html-end-tags",
|
|
144
|
+
"vue/html-indent",
|
|
145
|
+
"vue/html-quotes",
|
|
146
|
+
"vue/html-self-closing",
|
|
147
|
+
"vue/key-spacing",
|
|
148
|
+
"vue/keyword-spacing",
|
|
149
|
+
"vue/max-attributes-per-line",
|
|
150
|
+
"vue/max-len",
|
|
151
|
+
"vue/multiline-html-element-content-newline",
|
|
152
|
+
"vue/multiline-ternary",
|
|
153
|
+
"vue/mustache-interpolation-spacing",
|
|
154
|
+
"vue/no-extra-parens",
|
|
155
|
+
"vue/no-multi-spaces",
|
|
156
|
+
"vue/no-spaces-around-equal-signs-in-attribute",
|
|
157
|
+
"vue/object-curly-newline",
|
|
158
|
+
"vue/object-curly-spacing",
|
|
159
|
+
"vue/object-property-newline",
|
|
160
|
+
"vue/operator-linebreak",
|
|
161
|
+
"vue/quote-props",
|
|
162
|
+
"vue/script-indent",
|
|
163
|
+
"vue/singleline-html-element-content-newline",
|
|
164
|
+
"vue/space-infix-ops",
|
|
165
|
+
"vue/space-in-parens",
|
|
166
|
+
"vue/space-unary-ops",
|
|
167
|
+
"vue/template-curly-spacing"
|
|
168
|
+
]);
|
|
169
|
+
function prettier() {
|
|
170
|
+
const rules = Object.entries(config.rules ?? {}).reduce(
|
|
171
|
+
(ret, [rule, value]) => {
|
|
172
|
+
if (missingPluginPrefixes.some(
|
|
173
|
+
(pluginName) => rule.startsWith(`${pluginName}/`)
|
|
174
|
+
)) {
|
|
175
|
+
return ret;
|
|
176
|
+
}
|
|
177
|
+
if (missingEslintRules.has(rule) || missingPluginRules.has(rule)) {
|
|
178
|
+
return ret;
|
|
179
|
+
}
|
|
180
|
+
ret[rule] = value;
|
|
181
|
+
return ret;
|
|
182
|
+
},
|
|
183
|
+
{}
|
|
184
|
+
);
|
|
185
|
+
return {
|
|
186
|
+
jsPlugins: ["eslint-plugin-prettier"],
|
|
187
|
+
rules: {
|
|
188
|
+
...rules,
|
|
189
|
+
"prettier/prettier": "error",
|
|
190
|
+
"arrow-body-style": "off",
|
|
191
|
+
"prefer-arrow-callback": "off"
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export { prettier };
|
|
@@ -5,10 +5,10 @@ import { typescript } from './chunk-GSFW4I7Y.js';
|
|
|
5
5
|
import { unicorn } from './chunk-RCL4IWEM.js';
|
|
6
6
|
import { combine } from './chunk-NP4DGSOE.js';
|
|
7
7
|
import { GLOB_EXCLUDE } from './chunk-HZVUO4DQ.js';
|
|
8
|
-
import { next } from './chunk-
|
|
8
|
+
import { next } from './chunk-JT2UTBZO.js';
|
|
9
9
|
import { node } from './chunk-SGIBJGAV.js';
|
|
10
10
|
import { pnpm } from './chunk-24KYXRHB.js';
|
|
11
|
-
import { prettier } from './chunk-
|
|
11
|
+
import { prettier } from './chunk-NHRJPOXA.js';
|
|
12
12
|
import { promise } from './chunk-WQ37FH6C.js';
|
|
13
13
|
import { reactPerf } from './chunk-JHRYYA2I.js';
|
|
14
14
|
import { react } from './chunk-OPIMNRNA.js';
|
|
@@ -2019,7 +2019,7 @@ async function getStormConfig(options = {}, ...userConfigs) {
|
|
|
2019
2019
|
"react-perf": enableReactPerf = enableReact,
|
|
2020
2020
|
jsx: enableJsx = enableReact,
|
|
2021
2021
|
next: enableNext = false,
|
|
2022
|
-
jsdoc: enableJsdoc =
|
|
2022
|
+
jsdoc: enableJsdoc = false,
|
|
2023
2023
|
node: enableNode = true,
|
|
2024
2024
|
promise: enablePromise = true,
|
|
2025
2025
|
prettier: enablePrettier = true,
|
package/dist/configs/next.cjs
CHANGED
package/dist/configs/next.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { next } from '../chunk-
|
|
1
|
+
export { next } from '../chunk-JT2UTBZO.js';
|
|
@@ -7,11 +7,191 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
7
7
|
var config__default = /*#__PURE__*/_interopDefault(config);
|
|
8
8
|
|
|
9
9
|
// src/configs/prettier.ts
|
|
10
|
+
var missingPluginPrefixes = [
|
|
11
|
+
"@babel",
|
|
12
|
+
"@stylistic",
|
|
13
|
+
"babel",
|
|
14
|
+
"flowtype",
|
|
15
|
+
"standard"
|
|
16
|
+
];
|
|
17
|
+
var missingEslintRules = /* @__PURE__ */ new Set([
|
|
18
|
+
"array-bracket-newline",
|
|
19
|
+
"array-bracket-spacing",
|
|
20
|
+
"array-element-newline",
|
|
21
|
+
"arrow-parens",
|
|
22
|
+
"arrow-spacing",
|
|
23
|
+
"block-spacing",
|
|
24
|
+
"brace-style",
|
|
25
|
+
"comma-dangle",
|
|
26
|
+
"comma-spacing",
|
|
27
|
+
"comma-style",
|
|
28
|
+
"computed-property-spacing",
|
|
29
|
+
"dot-location",
|
|
30
|
+
"eol-last",
|
|
31
|
+
"func-call-spacing",
|
|
32
|
+
"function-call-argument-newline",
|
|
33
|
+
"function-paren-newline",
|
|
34
|
+
"generator-star",
|
|
35
|
+
"generator-star-spacing",
|
|
36
|
+
"implicit-arrow-linebreak",
|
|
37
|
+
"indent",
|
|
38
|
+
"indent-legacy",
|
|
39
|
+
"jsx-quotes",
|
|
40
|
+
"key-spacing",
|
|
41
|
+
"keyword-spacing",
|
|
42
|
+
"linebreak-style",
|
|
43
|
+
"lines-around-comment",
|
|
44
|
+
"max-len",
|
|
45
|
+
"max-statements-per-line",
|
|
46
|
+
"multiline-ternary",
|
|
47
|
+
"newline-per-chained-call",
|
|
48
|
+
"new-parens",
|
|
49
|
+
"no-arrow-condition",
|
|
50
|
+
"no-comma-dangle",
|
|
51
|
+
"no-confusing-arrow",
|
|
52
|
+
"no-extra-parens",
|
|
53
|
+
"no-extra-semi",
|
|
54
|
+
"no-floating-decimal",
|
|
55
|
+
"no-mixed-operators",
|
|
56
|
+
"no-mixed-spaces-and-tabs",
|
|
57
|
+
"no-multi-spaces",
|
|
58
|
+
"no-multiple-empty-lines",
|
|
59
|
+
"no-space-before-semi",
|
|
60
|
+
"no-spaced-func",
|
|
61
|
+
"no-tabs",
|
|
62
|
+
"no-trailing-spaces",
|
|
63
|
+
"no-whitespace-before-property",
|
|
64
|
+
"no-wrap-func",
|
|
65
|
+
"nonblock-statement-body-position",
|
|
66
|
+
"object-curly-newline",
|
|
67
|
+
"object-curly-spacing",
|
|
68
|
+
"object-property-newline",
|
|
69
|
+
"one-var-declaration-per-line",
|
|
70
|
+
"operator-linebreak",
|
|
71
|
+
"padded-blocks",
|
|
72
|
+
"quote-props",
|
|
73
|
+
"quotes",
|
|
74
|
+
"rest-spread-spacing",
|
|
75
|
+
"semi",
|
|
76
|
+
"semi-spacing",
|
|
77
|
+
"semi-style",
|
|
78
|
+
"space-after-function-name",
|
|
79
|
+
"space-after-keywords",
|
|
80
|
+
"space-before-blocks",
|
|
81
|
+
"space-before-function-paren",
|
|
82
|
+
"space-before-function-parentheses",
|
|
83
|
+
"space-before-keywords",
|
|
84
|
+
"space-in-brackets",
|
|
85
|
+
"space-infix-ops",
|
|
86
|
+
"space-in-parens",
|
|
87
|
+
"space-return-throw-case",
|
|
88
|
+
"space-unary-ops",
|
|
89
|
+
"space-unary-word-ops",
|
|
90
|
+
"switch-colon-spacing",
|
|
91
|
+
"template-curly-spacing",
|
|
92
|
+
"template-tag-spacing",
|
|
93
|
+
"wrap-iife",
|
|
94
|
+
"wrap-regex",
|
|
95
|
+
"yield-star-spacing"
|
|
96
|
+
]);
|
|
97
|
+
var missingPluginRules = /* @__PURE__ */ new Set([
|
|
98
|
+
"jsdoc/check-alignment",
|
|
99
|
+
"react/jsx-child-element-spacing",
|
|
100
|
+
"react/jsx-closing-bracket-location",
|
|
101
|
+
"react/jsx-closing-tag-location",
|
|
102
|
+
"react/jsx-curly-newline",
|
|
103
|
+
"react/jsx-curly-spacing",
|
|
104
|
+
"react/jsx-equals-spacing",
|
|
105
|
+
"react/jsx-first-prop-new-line",
|
|
106
|
+
"react/jsx-indent",
|
|
107
|
+
"react/jsx-indent-props",
|
|
108
|
+
"react/jsx-max-props-per-line",
|
|
109
|
+
"react/jsx-newline",
|
|
110
|
+
"react/jsx-one-expression-per-line",
|
|
111
|
+
"react/jsx-props-no-multi-spaces",
|
|
112
|
+
"react/jsx-space-before-closing",
|
|
113
|
+
"react/jsx-tag-spacing",
|
|
114
|
+
"react/jsx-wrap-multilines",
|
|
115
|
+
"typescript/block-spacing",
|
|
116
|
+
"typescript/brace-style",
|
|
117
|
+
"typescript/comma-dangle",
|
|
118
|
+
"typescript/comma-spacing",
|
|
119
|
+
"typescript/func-call-spacing",
|
|
120
|
+
"typescript/indent",
|
|
121
|
+
"typescript/key-spacing",
|
|
122
|
+
"typescript/keyword-spacing",
|
|
123
|
+
"typescript/lines-around-comment",
|
|
124
|
+
"typescript/member-delimiter-style",
|
|
125
|
+
"typescript/no-extra-parens",
|
|
126
|
+
"typescript/no-extra-semi",
|
|
127
|
+
"typescript/object-curly-spacing",
|
|
128
|
+
"typescript/quotes",
|
|
129
|
+
"typescript/semi",
|
|
130
|
+
"typescript/space-before-blocks",
|
|
131
|
+
"typescript/space-before-function-paren",
|
|
132
|
+
"typescript/space-infix-ops",
|
|
133
|
+
"typescript/type-annotation-spacing",
|
|
134
|
+
"unicorn/template-indent",
|
|
135
|
+
"vue/array-bracket-newline",
|
|
136
|
+
"vue/array-bracket-spacing",
|
|
137
|
+
"vue/array-element-newline",
|
|
138
|
+
"vue/arrow-spacing",
|
|
139
|
+
"vue/block-spacing",
|
|
140
|
+
"vue/block-tag-newline",
|
|
141
|
+
"vue/brace-style",
|
|
142
|
+
"vue/comma-dangle",
|
|
143
|
+
"vue/comma-spacing",
|
|
144
|
+
"vue/comma-style",
|
|
145
|
+
"vue/dot-location",
|
|
146
|
+
"vue/func-call-spacing",
|
|
147
|
+
"vue/html-closing-bracket-newline",
|
|
148
|
+
"vue/html-closing-bracket-spacing",
|
|
149
|
+
"vue/html-end-tags",
|
|
150
|
+
"vue/html-indent",
|
|
151
|
+
"vue/html-quotes",
|
|
152
|
+
"vue/html-self-closing",
|
|
153
|
+
"vue/key-spacing",
|
|
154
|
+
"vue/keyword-spacing",
|
|
155
|
+
"vue/max-attributes-per-line",
|
|
156
|
+
"vue/max-len",
|
|
157
|
+
"vue/multiline-html-element-content-newline",
|
|
158
|
+
"vue/multiline-ternary",
|
|
159
|
+
"vue/mustache-interpolation-spacing",
|
|
160
|
+
"vue/no-extra-parens",
|
|
161
|
+
"vue/no-multi-spaces",
|
|
162
|
+
"vue/no-spaces-around-equal-signs-in-attribute",
|
|
163
|
+
"vue/object-curly-newline",
|
|
164
|
+
"vue/object-curly-spacing",
|
|
165
|
+
"vue/object-property-newline",
|
|
166
|
+
"vue/operator-linebreak",
|
|
167
|
+
"vue/quote-props",
|
|
168
|
+
"vue/script-indent",
|
|
169
|
+
"vue/singleline-html-element-content-newline",
|
|
170
|
+
"vue/space-infix-ops",
|
|
171
|
+
"vue/space-in-parens",
|
|
172
|
+
"vue/space-unary-ops",
|
|
173
|
+
"vue/template-curly-spacing"
|
|
174
|
+
]);
|
|
10
175
|
function prettier() {
|
|
176
|
+
const rules = Object.entries(config__default.default.rules ?? {}).reduce(
|
|
177
|
+
(ret, [rule, value]) => {
|
|
178
|
+
if (missingPluginPrefixes.some(
|
|
179
|
+
(pluginName) => rule.startsWith(`${pluginName}/`)
|
|
180
|
+
)) {
|
|
181
|
+
return ret;
|
|
182
|
+
}
|
|
183
|
+
if (missingEslintRules.has(rule) || missingPluginRules.has(rule)) {
|
|
184
|
+
return ret;
|
|
185
|
+
}
|
|
186
|
+
ret[rule] = value;
|
|
187
|
+
return ret;
|
|
188
|
+
},
|
|
189
|
+
{}
|
|
190
|
+
);
|
|
11
191
|
return {
|
|
12
192
|
jsPlugins: ["eslint-plugin-prettier"],
|
|
13
193
|
rules: {
|
|
14
|
-
...
|
|
194
|
+
...rules,
|
|
15
195
|
"prettier/prettier": "error",
|
|
16
196
|
"arrow-body-style": "off",
|
|
17
197
|
"prefer-arrow-callback": "off"
|
package/dist/configs/prettier.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { prettier } from '../chunk-
|
|
1
|
+
export { prettier } from '../chunk-NHRJPOXA.js';
|
package/dist/index.cjs
CHANGED
|
@@ -2106,9 +2106,7 @@ function next(options = {}) {
|
|
|
2106
2106
|
"nextjs/no-head-import-in-document": "error"
|
|
2107
2107
|
},
|
|
2108
2108
|
settings: {
|
|
2109
|
-
next: {
|
|
2110
|
-
...rootDir ? { rootDir } : {}
|
|
2111
|
-
}
|
|
2109
|
+
next: rootDir ? { rootDir } : {}
|
|
2112
2110
|
}
|
|
2113
2111
|
};
|
|
2114
2112
|
}
|
|
@@ -2152,11 +2150,191 @@ function pnpm(options) {
|
|
|
2152
2150
|
}
|
|
2153
2151
|
};
|
|
2154
2152
|
}
|
|
2153
|
+
var missingPluginPrefixes = [
|
|
2154
|
+
"@babel",
|
|
2155
|
+
"@stylistic",
|
|
2156
|
+
"babel",
|
|
2157
|
+
"flowtype",
|
|
2158
|
+
"standard"
|
|
2159
|
+
];
|
|
2160
|
+
var missingEslintRules = /* @__PURE__ */ new Set([
|
|
2161
|
+
"array-bracket-newline",
|
|
2162
|
+
"array-bracket-spacing",
|
|
2163
|
+
"array-element-newline",
|
|
2164
|
+
"arrow-parens",
|
|
2165
|
+
"arrow-spacing",
|
|
2166
|
+
"block-spacing",
|
|
2167
|
+
"brace-style",
|
|
2168
|
+
"comma-dangle",
|
|
2169
|
+
"comma-spacing",
|
|
2170
|
+
"comma-style",
|
|
2171
|
+
"computed-property-spacing",
|
|
2172
|
+
"dot-location",
|
|
2173
|
+
"eol-last",
|
|
2174
|
+
"func-call-spacing",
|
|
2175
|
+
"function-call-argument-newline",
|
|
2176
|
+
"function-paren-newline",
|
|
2177
|
+
"generator-star",
|
|
2178
|
+
"generator-star-spacing",
|
|
2179
|
+
"implicit-arrow-linebreak",
|
|
2180
|
+
"indent",
|
|
2181
|
+
"indent-legacy",
|
|
2182
|
+
"jsx-quotes",
|
|
2183
|
+
"key-spacing",
|
|
2184
|
+
"keyword-spacing",
|
|
2185
|
+
"linebreak-style",
|
|
2186
|
+
"lines-around-comment",
|
|
2187
|
+
"max-len",
|
|
2188
|
+
"max-statements-per-line",
|
|
2189
|
+
"multiline-ternary",
|
|
2190
|
+
"newline-per-chained-call",
|
|
2191
|
+
"new-parens",
|
|
2192
|
+
"no-arrow-condition",
|
|
2193
|
+
"no-comma-dangle",
|
|
2194
|
+
"no-confusing-arrow",
|
|
2195
|
+
"no-extra-parens",
|
|
2196
|
+
"no-extra-semi",
|
|
2197
|
+
"no-floating-decimal",
|
|
2198
|
+
"no-mixed-operators",
|
|
2199
|
+
"no-mixed-spaces-and-tabs",
|
|
2200
|
+
"no-multi-spaces",
|
|
2201
|
+
"no-multiple-empty-lines",
|
|
2202
|
+
"no-space-before-semi",
|
|
2203
|
+
"no-spaced-func",
|
|
2204
|
+
"no-tabs",
|
|
2205
|
+
"no-trailing-spaces",
|
|
2206
|
+
"no-whitespace-before-property",
|
|
2207
|
+
"no-wrap-func",
|
|
2208
|
+
"nonblock-statement-body-position",
|
|
2209
|
+
"object-curly-newline",
|
|
2210
|
+
"object-curly-spacing",
|
|
2211
|
+
"object-property-newline",
|
|
2212
|
+
"one-var-declaration-per-line",
|
|
2213
|
+
"operator-linebreak",
|
|
2214
|
+
"padded-blocks",
|
|
2215
|
+
"quote-props",
|
|
2216
|
+
"quotes",
|
|
2217
|
+
"rest-spread-spacing",
|
|
2218
|
+
"semi",
|
|
2219
|
+
"semi-spacing",
|
|
2220
|
+
"semi-style",
|
|
2221
|
+
"space-after-function-name",
|
|
2222
|
+
"space-after-keywords",
|
|
2223
|
+
"space-before-blocks",
|
|
2224
|
+
"space-before-function-paren",
|
|
2225
|
+
"space-before-function-parentheses",
|
|
2226
|
+
"space-before-keywords",
|
|
2227
|
+
"space-in-brackets",
|
|
2228
|
+
"space-infix-ops",
|
|
2229
|
+
"space-in-parens",
|
|
2230
|
+
"space-return-throw-case",
|
|
2231
|
+
"space-unary-ops",
|
|
2232
|
+
"space-unary-word-ops",
|
|
2233
|
+
"switch-colon-spacing",
|
|
2234
|
+
"template-curly-spacing",
|
|
2235
|
+
"template-tag-spacing",
|
|
2236
|
+
"wrap-iife",
|
|
2237
|
+
"wrap-regex",
|
|
2238
|
+
"yield-star-spacing"
|
|
2239
|
+
]);
|
|
2240
|
+
var missingPluginRules = /* @__PURE__ */ new Set([
|
|
2241
|
+
"jsdoc/check-alignment",
|
|
2242
|
+
"react/jsx-child-element-spacing",
|
|
2243
|
+
"react/jsx-closing-bracket-location",
|
|
2244
|
+
"react/jsx-closing-tag-location",
|
|
2245
|
+
"react/jsx-curly-newline",
|
|
2246
|
+
"react/jsx-curly-spacing",
|
|
2247
|
+
"react/jsx-equals-spacing",
|
|
2248
|
+
"react/jsx-first-prop-new-line",
|
|
2249
|
+
"react/jsx-indent",
|
|
2250
|
+
"react/jsx-indent-props",
|
|
2251
|
+
"react/jsx-max-props-per-line",
|
|
2252
|
+
"react/jsx-newline",
|
|
2253
|
+
"react/jsx-one-expression-per-line",
|
|
2254
|
+
"react/jsx-props-no-multi-spaces",
|
|
2255
|
+
"react/jsx-space-before-closing",
|
|
2256
|
+
"react/jsx-tag-spacing",
|
|
2257
|
+
"react/jsx-wrap-multilines",
|
|
2258
|
+
"typescript/block-spacing",
|
|
2259
|
+
"typescript/brace-style",
|
|
2260
|
+
"typescript/comma-dangle",
|
|
2261
|
+
"typescript/comma-spacing",
|
|
2262
|
+
"typescript/func-call-spacing",
|
|
2263
|
+
"typescript/indent",
|
|
2264
|
+
"typescript/key-spacing",
|
|
2265
|
+
"typescript/keyword-spacing",
|
|
2266
|
+
"typescript/lines-around-comment",
|
|
2267
|
+
"typescript/member-delimiter-style",
|
|
2268
|
+
"typescript/no-extra-parens",
|
|
2269
|
+
"typescript/no-extra-semi",
|
|
2270
|
+
"typescript/object-curly-spacing",
|
|
2271
|
+
"typescript/quotes",
|
|
2272
|
+
"typescript/semi",
|
|
2273
|
+
"typescript/space-before-blocks",
|
|
2274
|
+
"typescript/space-before-function-paren",
|
|
2275
|
+
"typescript/space-infix-ops",
|
|
2276
|
+
"typescript/type-annotation-spacing",
|
|
2277
|
+
"unicorn/template-indent",
|
|
2278
|
+
"vue/array-bracket-newline",
|
|
2279
|
+
"vue/array-bracket-spacing",
|
|
2280
|
+
"vue/array-element-newline",
|
|
2281
|
+
"vue/arrow-spacing",
|
|
2282
|
+
"vue/block-spacing",
|
|
2283
|
+
"vue/block-tag-newline",
|
|
2284
|
+
"vue/brace-style",
|
|
2285
|
+
"vue/comma-dangle",
|
|
2286
|
+
"vue/comma-spacing",
|
|
2287
|
+
"vue/comma-style",
|
|
2288
|
+
"vue/dot-location",
|
|
2289
|
+
"vue/func-call-spacing",
|
|
2290
|
+
"vue/html-closing-bracket-newline",
|
|
2291
|
+
"vue/html-closing-bracket-spacing",
|
|
2292
|
+
"vue/html-end-tags",
|
|
2293
|
+
"vue/html-indent",
|
|
2294
|
+
"vue/html-quotes",
|
|
2295
|
+
"vue/html-self-closing",
|
|
2296
|
+
"vue/key-spacing",
|
|
2297
|
+
"vue/keyword-spacing",
|
|
2298
|
+
"vue/max-attributes-per-line",
|
|
2299
|
+
"vue/max-len",
|
|
2300
|
+
"vue/multiline-html-element-content-newline",
|
|
2301
|
+
"vue/multiline-ternary",
|
|
2302
|
+
"vue/mustache-interpolation-spacing",
|
|
2303
|
+
"vue/no-extra-parens",
|
|
2304
|
+
"vue/no-multi-spaces",
|
|
2305
|
+
"vue/no-spaces-around-equal-signs-in-attribute",
|
|
2306
|
+
"vue/object-curly-newline",
|
|
2307
|
+
"vue/object-curly-spacing",
|
|
2308
|
+
"vue/object-property-newline",
|
|
2309
|
+
"vue/operator-linebreak",
|
|
2310
|
+
"vue/quote-props",
|
|
2311
|
+
"vue/script-indent",
|
|
2312
|
+
"vue/singleline-html-element-content-newline",
|
|
2313
|
+
"vue/space-infix-ops",
|
|
2314
|
+
"vue/space-in-parens",
|
|
2315
|
+
"vue/space-unary-ops",
|
|
2316
|
+
"vue/template-curly-spacing"
|
|
2317
|
+
]);
|
|
2155
2318
|
function prettier() {
|
|
2319
|
+
const rules = Object.entries(config__default.default.rules ?? {}).reduce(
|
|
2320
|
+
(ret, [rule, value]) => {
|
|
2321
|
+
if (missingPluginPrefixes.some(
|
|
2322
|
+
(pluginName) => rule.startsWith(`${pluginName}/`)
|
|
2323
|
+
)) {
|
|
2324
|
+
return ret;
|
|
2325
|
+
}
|
|
2326
|
+
if (missingEslintRules.has(rule) || missingPluginRules.has(rule)) {
|
|
2327
|
+
return ret;
|
|
2328
|
+
}
|
|
2329
|
+
ret[rule] = value;
|
|
2330
|
+
return ret;
|
|
2331
|
+
},
|
|
2332
|
+
{}
|
|
2333
|
+
);
|
|
2156
2334
|
return {
|
|
2157
2335
|
jsPlugins: ["eslint-plugin-prettier"],
|
|
2158
2336
|
rules: {
|
|
2159
|
-
...
|
|
2337
|
+
...rules,
|
|
2160
2338
|
"prettier/prettier": "error",
|
|
2161
2339
|
"arrow-body-style": "off",
|
|
2162
2340
|
"prefer-arrow-callback": "off"
|
|
@@ -2536,7 +2714,7 @@ async function getStormConfig(options = {}, ...userConfigs) {
|
|
|
2536
2714
|
"react-perf": enableReactPerf = enableReact,
|
|
2537
2715
|
jsx: enableJsx = enableReact,
|
|
2538
2716
|
next: enableNext = false,
|
|
2539
|
-
jsdoc: enableJsdoc =
|
|
2717
|
+
jsdoc: enableJsdoc = false,
|
|
2540
2718
|
node: enableNode = true,
|
|
2541
2719
|
promise: enablePromise = true,
|
|
2542
2720
|
prettier: enablePrettier = true,
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './chunk-U76ID4TS.js';
|
|
2
2
|
export { formatConfig } from './chunk-PRECUC4G.js';
|
|
3
|
-
import { getStormConfig } from './chunk-
|
|
4
|
-
export { defineConfig, getConfig, getStormConfig } from './chunk-
|
|
3
|
+
import { getStormConfig } from './chunk-OD5Q5CZT.js';
|
|
4
|
+
export { defineConfig, getConfig, getStormConfig } from './chunk-OD5Q5CZT.js';
|
|
5
5
|
export { storybook } from './chunk-KRBDXNMO.js';
|
|
6
6
|
export { test } from './chunk-IYISSAYD.js';
|
|
7
7
|
export { tsdoc } from './chunk-ORLPYCNP.js';
|
|
@@ -9,10 +9,10 @@ export { typescript } from './chunk-GSFW4I7Y.js';
|
|
|
9
9
|
export { unicorn } from './chunk-RCL4IWEM.js';
|
|
10
10
|
export { combine } from './chunk-NP4DGSOE.js';
|
|
11
11
|
export { GLOB_EXCLUDE, GLOB_SRC, GLOB_SRC_EXT, GLOB_SRC_FILE, GLOB_TEST } from './chunk-HZVUO4DQ.js';
|
|
12
|
-
export { next } from './chunk-
|
|
12
|
+
export { next } from './chunk-JT2UTBZO.js';
|
|
13
13
|
export { node } from './chunk-SGIBJGAV.js';
|
|
14
14
|
export { pnpm } from './chunk-24KYXRHB.js';
|
|
15
|
-
export { prettier } from './chunk-
|
|
15
|
+
export { prettier } from './chunk-NHRJPOXA.js';
|
|
16
16
|
export { promise } from './chunk-WQ37FH6C.js';
|
|
17
17
|
export { reactPerf } from './chunk-JHRYYA2I.js';
|
|
18
18
|
export { react } from './chunk-OPIMNRNA.js';
|
package/dist/preset.cjs
CHANGED
|
@@ -2106,9 +2106,7 @@ function next(options = {}) {
|
|
|
2106
2106
|
"nextjs/no-head-import-in-document": "error"
|
|
2107
2107
|
},
|
|
2108
2108
|
settings: {
|
|
2109
|
-
next: {
|
|
2110
|
-
...rootDir ? { rootDir } : {}
|
|
2111
|
-
}
|
|
2109
|
+
next: rootDir ? { rootDir } : {}
|
|
2112
2110
|
}
|
|
2113
2111
|
};
|
|
2114
2112
|
}
|
|
@@ -2152,11 +2150,191 @@ function pnpm(options) {
|
|
|
2152
2150
|
}
|
|
2153
2151
|
};
|
|
2154
2152
|
}
|
|
2153
|
+
var missingPluginPrefixes = [
|
|
2154
|
+
"@babel",
|
|
2155
|
+
"@stylistic",
|
|
2156
|
+
"babel",
|
|
2157
|
+
"flowtype",
|
|
2158
|
+
"standard"
|
|
2159
|
+
];
|
|
2160
|
+
var missingEslintRules = /* @__PURE__ */ new Set([
|
|
2161
|
+
"array-bracket-newline",
|
|
2162
|
+
"array-bracket-spacing",
|
|
2163
|
+
"array-element-newline",
|
|
2164
|
+
"arrow-parens",
|
|
2165
|
+
"arrow-spacing",
|
|
2166
|
+
"block-spacing",
|
|
2167
|
+
"brace-style",
|
|
2168
|
+
"comma-dangle",
|
|
2169
|
+
"comma-spacing",
|
|
2170
|
+
"comma-style",
|
|
2171
|
+
"computed-property-spacing",
|
|
2172
|
+
"dot-location",
|
|
2173
|
+
"eol-last",
|
|
2174
|
+
"func-call-spacing",
|
|
2175
|
+
"function-call-argument-newline",
|
|
2176
|
+
"function-paren-newline",
|
|
2177
|
+
"generator-star",
|
|
2178
|
+
"generator-star-spacing",
|
|
2179
|
+
"implicit-arrow-linebreak",
|
|
2180
|
+
"indent",
|
|
2181
|
+
"indent-legacy",
|
|
2182
|
+
"jsx-quotes",
|
|
2183
|
+
"key-spacing",
|
|
2184
|
+
"keyword-spacing",
|
|
2185
|
+
"linebreak-style",
|
|
2186
|
+
"lines-around-comment",
|
|
2187
|
+
"max-len",
|
|
2188
|
+
"max-statements-per-line",
|
|
2189
|
+
"multiline-ternary",
|
|
2190
|
+
"newline-per-chained-call",
|
|
2191
|
+
"new-parens",
|
|
2192
|
+
"no-arrow-condition",
|
|
2193
|
+
"no-comma-dangle",
|
|
2194
|
+
"no-confusing-arrow",
|
|
2195
|
+
"no-extra-parens",
|
|
2196
|
+
"no-extra-semi",
|
|
2197
|
+
"no-floating-decimal",
|
|
2198
|
+
"no-mixed-operators",
|
|
2199
|
+
"no-mixed-spaces-and-tabs",
|
|
2200
|
+
"no-multi-spaces",
|
|
2201
|
+
"no-multiple-empty-lines",
|
|
2202
|
+
"no-space-before-semi",
|
|
2203
|
+
"no-spaced-func",
|
|
2204
|
+
"no-tabs",
|
|
2205
|
+
"no-trailing-spaces",
|
|
2206
|
+
"no-whitespace-before-property",
|
|
2207
|
+
"no-wrap-func",
|
|
2208
|
+
"nonblock-statement-body-position",
|
|
2209
|
+
"object-curly-newline",
|
|
2210
|
+
"object-curly-spacing",
|
|
2211
|
+
"object-property-newline",
|
|
2212
|
+
"one-var-declaration-per-line",
|
|
2213
|
+
"operator-linebreak",
|
|
2214
|
+
"padded-blocks",
|
|
2215
|
+
"quote-props",
|
|
2216
|
+
"quotes",
|
|
2217
|
+
"rest-spread-spacing",
|
|
2218
|
+
"semi",
|
|
2219
|
+
"semi-spacing",
|
|
2220
|
+
"semi-style",
|
|
2221
|
+
"space-after-function-name",
|
|
2222
|
+
"space-after-keywords",
|
|
2223
|
+
"space-before-blocks",
|
|
2224
|
+
"space-before-function-paren",
|
|
2225
|
+
"space-before-function-parentheses",
|
|
2226
|
+
"space-before-keywords",
|
|
2227
|
+
"space-in-brackets",
|
|
2228
|
+
"space-infix-ops",
|
|
2229
|
+
"space-in-parens",
|
|
2230
|
+
"space-return-throw-case",
|
|
2231
|
+
"space-unary-ops",
|
|
2232
|
+
"space-unary-word-ops",
|
|
2233
|
+
"switch-colon-spacing",
|
|
2234
|
+
"template-curly-spacing",
|
|
2235
|
+
"template-tag-spacing",
|
|
2236
|
+
"wrap-iife",
|
|
2237
|
+
"wrap-regex",
|
|
2238
|
+
"yield-star-spacing"
|
|
2239
|
+
]);
|
|
2240
|
+
var missingPluginRules = /* @__PURE__ */ new Set([
|
|
2241
|
+
"jsdoc/check-alignment",
|
|
2242
|
+
"react/jsx-child-element-spacing",
|
|
2243
|
+
"react/jsx-closing-bracket-location",
|
|
2244
|
+
"react/jsx-closing-tag-location",
|
|
2245
|
+
"react/jsx-curly-newline",
|
|
2246
|
+
"react/jsx-curly-spacing",
|
|
2247
|
+
"react/jsx-equals-spacing",
|
|
2248
|
+
"react/jsx-first-prop-new-line",
|
|
2249
|
+
"react/jsx-indent",
|
|
2250
|
+
"react/jsx-indent-props",
|
|
2251
|
+
"react/jsx-max-props-per-line",
|
|
2252
|
+
"react/jsx-newline",
|
|
2253
|
+
"react/jsx-one-expression-per-line",
|
|
2254
|
+
"react/jsx-props-no-multi-spaces",
|
|
2255
|
+
"react/jsx-space-before-closing",
|
|
2256
|
+
"react/jsx-tag-spacing",
|
|
2257
|
+
"react/jsx-wrap-multilines",
|
|
2258
|
+
"typescript/block-spacing",
|
|
2259
|
+
"typescript/brace-style",
|
|
2260
|
+
"typescript/comma-dangle",
|
|
2261
|
+
"typescript/comma-spacing",
|
|
2262
|
+
"typescript/func-call-spacing",
|
|
2263
|
+
"typescript/indent",
|
|
2264
|
+
"typescript/key-spacing",
|
|
2265
|
+
"typescript/keyword-spacing",
|
|
2266
|
+
"typescript/lines-around-comment",
|
|
2267
|
+
"typescript/member-delimiter-style",
|
|
2268
|
+
"typescript/no-extra-parens",
|
|
2269
|
+
"typescript/no-extra-semi",
|
|
2270
|
+
"typescript/object-curly-spacing",
|
|
2271
|
+
"typescript/quotes",
|
|
2272
|
+
"typescript/semi",
|
|
2273
|
+
"typescript/space-before-blocks",
|
|
2274
|
+
"typescript/space-before-function-paren",
|
|
2275
|
+
"typescript/space-infix-ops",
|
|
2276
|
+
"typescript/type-annotation-spacing",
|
|
2277
|
+
"unicorn/template-indent",
|
|
2278
|
+
"vue/array-bracket-newline",
|
|
2279
|
+
"vue/array-bracket-spacing",
|
|
2280
|
+
"vue/array-element-newline",
|
|
2281
|
+
"vue/arrow-spacing",
|
|
2282
|
+
"vue/block-spacing",
|
|
2283
|
+
"vue/block-tag-newline",
|
|
2284
|
+
"vue/brace-style",
|
|
2285
|
+
"vue/comma-dangle",
|
|
2286
|
+
"vue/comma-spacing",
|
|
2287
|
+
"vue/comma-style",
|
|
2288
|
+
"vue/dot-location",
|
|
2289
|
+
"vue/func-call-spacing",
|
|
2290
|
+
"vue/html-closing-bracket-newline",
|
|
2291
|
+
"vue/html-closing-bracket-spacing",
|
|
2292
|
+
"vue/html-end-tags",
|
|
2293
|
+
"vue/html-indent",
|
|
2294
|
+
"vue/html-quotes",
|
|
2295
|
+
"vue/html-self-closing",
|
|
2296
|
+
"vue/key-spacing",
|
|
2297
|
+
"vue/keyword-spacing",
|
|
2298
|
+
"vue/max-attributes-per-line",
|
|
2299
|
+
"vue/max-len",
|
|
2300
|
+
"vue/multiline-html-element-content-newline",
|
|
2301
|
+
"vue/multiline-ternary",
|
|
2302
|
+
"vue/mustache-interpolation-spacing",
|
|
2303
|
+
"vue/no-extra-parens",
|
|
2304
|
+
"vue/no-multi-spaces",
|
|
2305
|
+
"vue/no-spaces-around-equal-signs-in-attribute",
|
|
2306
|
+
"vue/object-curly-newline",
|
|
2307
|
+
"vue/object-curly-spacing",
|
|
2308
|
+
"vue/object-property-newline",
|
|
2309
|
+
"vue/operator-linebreak",
|
|
2310
|
+
"vue/quote-props",
|
|
2311
|
+
"vue/script-indent",
|
|
2312
|
+
"vue/singleline-html-element-content-newline",
|
|
2313
|
+
"vue/space-infix-ops",
|
|
2314
|
+
"vue/space-in-parens",
|
|
2315
|
+
"vue/space-unary-ops",
|
|
2316
|
+
"vue/template-curly-spacing"
|
|
2317
|
+
]);
|
|
2155
2318
|
function prettier() {
|
|
2319
|
+
const rules = Object.entries(config__default.default.rules ?? {}).reduce(
|
|
2320
|
+
(ret, [rule, value]) => {
|
|
2321
|
+
if (missingPluginPrefixes.some(
|
|
2322
|
+
(pluginName) => rule.startsWith(`${pluginName}/`)
|
|
2323
|
+
)) {
|
|
2324
|
+
return ret;
|
|
2325
|
+
}
|
|
2326
|
+
if (missingEslintRules.has(rule) || missingPluginRules.has(rule)) {
|
|
2327
|
+
return ret;
|
|
2328
|
+
}
|
|
2329
|
+
ret[rule] = value;
|
|
2330
|
+
return ret;
|
|
2331
|
+
},
|
|
2332
|
+
{}
|
|
2333
|
+
);
|
|
2156
2334
|
return {
|
|
2157
2335
|
jsPlugins: ["eslint-plugin-prettier"],
|
|
2158
2336
|
rules: {
|
|
2159
|
-
...
|
|
2337
|
+
...rules,
|
|
2160
2338
|
"prettier/prettier": "error",
|
|
2161
2339
|
"arrow-body-style": "off",
|
|
2162
2340
|
"prefer-arrow-callback": "off"
|
|
@@ -2534,7 +2712,7 @@ async function getStormConfig(options = {}, ...userConfigs) {
|
|
|
2534
2712
|
"react-perf": enableReactPerf = enableReact,
|
|
2535
2713
|
jsx: enableJsx = enableReact,
|
|
2536
2714
|
next: enableNext = false,
|
|
2537
|
-
jsdoc: enableJsdoc =
|
|
2715
|
+
jsdoc: enableJsdoc = false,
|
|
2538
2716
|
node: enableNode = true,
|
|
2539
2717
|
promise: enablePromise = true,
|
|
2540
2718
|
prettier: enablePrettier = true,
|
package/dist/preset.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { preset_default as default, defineConfig, getConfig, getStormConfig } from './chunk-
|
|
1
|
+
export { preset_default as default, defineConfig, getConfig, getStormConfig } from './chunk-OD5Q5CZT.js';
|
|
2
2
|
import './chunk-KRBDXNMO.js';
|
|
3
3
|
import './chunk-IYISSAYD.js';
|
|
4
4
|
import './chunk-ORLPYCNP.js';
|
|
@@ -6,10 +6,10 @@ import './chunk-GSFW4I7Y.js';
|
|
|
6
6
|
import './chunk-RCL4IWEM.js';
|
|
7
7
|
import './chunk-NP4DGSOE.js';
|
|
8
8
|
import './chunk-HZVUO4DQ.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-JT2UTBZO.js';
|
|
10
10
|
import './chunk-SGIBJGAV.js';
|
|
11
11
|
import './chunk-24KYXRHB.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-NHRJPOXA.js';
|
|
13
13
|
import './chunk-WQ37FH6C.js';
|
|
14
14
|
import './chunk-JHRYYA2I.js';
|
|
15
15
|
import './chunk-OPIMNRNA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/oxlint",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the base Oxlint configuration used by Storm Software across many projects.",
|
|
6
6
|
"keywords": ["oxlint", "oxlint-config", "storm-ops", "storm-software"],
|
|
@@ -127,9 +127,9 @@
|
|
|
127
127
|
"types": "./dist/index.d.ts",
|
|
128
128
|
"files": ["dist/**/*"],
|
|
129
129
|
"dependencies": {
|
|
130
|
-
"@storm-software/eslint-plugin-banner": "0.0.
|
|
131
|
-
"@storm-software/eslint-plugin-pnpm": "0.0.
|
|
132
|
-
"@storm-software/eslint-plugin-tsdoc": "0.0.
|
|
130
|
+
"@storm-software/eslint-plugin-banner": "^0.0.7",
|
|
131
|
+
"@storm-software/eslint-plugin-pnpm": "^0.0.7",
|
|
132
|
+
"@storm-software/eslint-plugin-tsdoc": "^0.0.7",
|
|
133
133
|
"defu": "^6.1.7",
|
|
134
134
|
"eslint-config-prettier": "^10.1.8",
|
|
135
135
|
"eslint-plugin-prettier": "^5.5.6",
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": { "oxlint": "^1.68.0", "oxlint-tsgolint": "^0.14.2" },
|
|
153
153
|
"publishConfig": { "access": "public" },
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "2ef7947fa3e820c95c01a7c94d05522e8172f235"
|
|
155
155
|
}
|
package/dist/chunk-GEMVBBN7.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import config from 'eslint-plugin-prettier/recommended';
|
|
2
|
-
|
|
3
|
-
// src/configs/prettier.ts
|
|
4
|
-
function prettier() {
|
|
5
|
-
return {
|
|
6
|
-
jsPlugins: ["eslint-plugin-prettier"],
|
|
7
|
-
rules: {
|
|
8
|
-
...config.rules,
|
|
9
|
-
"prettier/prettier": "error",
|
|
10
|
-
"arrow-body-style": "off",
|
|
11
|
-
"prefer-arrow-callback": "off"
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { prettier };
|