@storm-software/eslint 0.87.3 → 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 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
- [![Version](https://img.shields.io/badge/version-0.87.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.88.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/preset.mjs CHANGED
@@ -13063,13 +13063,6 @@ function getStormConfig(options = {
13063
13063
  ...reactPlugin.configs?.recommended,
13064
13064
  plugins: { "react": reactPlugin },
13065
13065
  files: ["**/*.tsx"],
13066
- languageOptions: {
13067
- parserOptions: {
13068
- ecmaFeatures: {
13069
- jsx: true
13070
- }
13071
- }
13072
- },
13073
13066
  ignores: [...ignores, ...options.ignores || []],
13074
13067
  ...react
13075
13068
  },
@@ -13181,17 +13174,21 @@ function getStormConfig(options = {
13181
13174
  }
13182
13175
  const result = formatConfig(
13183
13176
  "Preset",
13184
- configs.reduce((ret, config) => {
13185
- const existingIndex = ret.findIndex(
13186
- (existing) => areFilesEqual(existing.files, config.files)
13187
- );
13188
- if (existingIndex >= 0) {
13189
- ret[existingIndex] = defu(ret[existingIndex], config);
13190
- } else {
13191
- ret.push(config);
13192
- }
13193
- return ret;
13194
- }, [])
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
+ )
13195
13192
  );
13196
13193
  writeInfo("\u2699\uFE0F Completed generated Storm ESLint configuration objects", {
13197
13194
  logLevel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.87.3",
3
+ "version": "0.88.1",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {