@storm-software/eslint 0.41.0 → 0.42.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.40.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)
24
+ [![Version](https://img.shields.io/badge/version-0.42.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
@@ -12926,7 +12926,6 @@ const formatConfig = (name, config = []) => {
12926
12926
  function getStormConfig(options = {
12927
12927
  rules: {},
12928
12928
  ignores: [],
12929
- tsconfig: "./tsconfig.base.json",
12930
12929
  markdown: {},
12931
12930
  react: {}
12932
12931
  }, ...userConfigs) {
@@ -13001,7 +13000,7 @@ function getStormConfig(options = {
13001
13000
  ].filter(Boolean);
13002
13001
  const typescriptConfig = {
13003
13002
  // https://typescript-eslint.io/
13004
- ...tsEslint$1.configs.stylisticTypeChecked,
13003
+ // ...tsEslint.configs.stylisticTypeChecked,
13005
13004
  // https://www.npmjs.com/package/eslint-plugin-unicorn
13006
13005
  ...eslintPluginUnicorn.configs["flat/recommended"],
13007
13006
  files: [CODE_FILE],
@@ -13015,9 +13014,9 @@ function getStormConfig(options = {
13015
13014
  ])
13016
13015
  )
13017
13016
  ),
13018
- "Storm": true
13017
+ "Storm": "readonly"
13019
13018
  },
13020
- project: options.tsconfig ? options.tsconfig : "./tsconfig.base.json"
13019
+ ecmaVersion: "latest"
13021
13020
  },
13022
13021
  rules: {
13023
13022
  // https://eslint.org/docs/latest/rules/
@@ -13053,6 +13052,16 @@ function getStormConfig(options = {
13053
13052
  ...config$4,
13054
13053
  ...options.react
13055
13054
  };
13055
+ typescriptConfig.languageOptions = {
13056
+ ...typescriptConfig.languageOptions,
13057
+ parserOptions: {
13058
+ ...typescriptConfig.languageOptions?.parserOptions,
13059
+ ecmaFeatures: {
13060
+ ...typescriptConfig.languageOptions?.parserOptions?.ecmaFeatures,
13061
+ jsx: true
13062
+ }
13063
+ }
13064
+ };
13056
13065
  }
13057
13066
  configs.push(typescriptConfig);
13058
13067
  if (options.markdown) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.41.0",
3
+ "version": "0.42.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": {