@storm-software/eslint 0.88.0 → 0.88.1
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/preset.mjs +15 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.mjs
CHANGED
|
@@ -13174,17 +13174,21 @@ function getStormConfig(options = {
|
|
|
13174
13174
|
}
|
|
13175
13175
|
const result = formatConfig(
|
|
13176
13176
|
"Preset",
|
|
13177
|
-
configs.reduce(
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13177
|
+
configs.reduce(
|
|
13178
|
+
(ret, config) => {
|
|
13179
|
+
delete config.parserOptions;
|
|
13180
|
+
const existingIndex = ret.findIndex(
|
|
13181
|
+
(existing) => areFilesEqual(existing.files, config.files)
|
|
13182
|
+
);
|
|
13183
|
+
if (existingIndex >= 0) {
|
|
13184
|
+
ret[existingIndex] = defu(ret[existingIndex], config);
|
|
13185
|
+
} else {
|
|
13186
|
+
ret.push(config);
|
|
13187
|
+
}
|
|
13188
|
+
return ret;
|
|
13189
|
+
},
|
|
13190
|
+
[]
|
|
13191
|
+
)
|
|
13188
13192
|
);
|
|
13189
13193
|
writeInfo("\u2699\uFE0F Completed generated Storm ESLint configuration objects", {
|
|
13190
13194
|
logLevel
|
package/package.json
CHANGED