@storm-software/eslint 0.69.0 → 0.69.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.68.13-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.69.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
@@ -1622,13 +1622,7 @@ const config$1 = {
1622
1622
  // require trailing commas in multiline object literals
1623
1623
  "comma-dangle": [
1624
1624
  "error",
1625
- {
1626
- arrays: "always-multiline",
1627
- objects: "always-multiline",
1628
- imports: "always-multiline",
1629
- exports: "always-multiline",
1630
- functions: "always-multiline"
1631
- }
1625
+ "never"
1632
1626
  ],
1633
1627
  // enforce spacing before and after comma
1634
1628
  "comma-spacing": ["error", { before: false, after: true }],
@@ -13678,7 +13672,7 @@ function getStormConfig(options = {
13678
13672
  // https://eslint.org/docs/latest/rules/
13679
13673
  eslint.configs.recommended,
13680
13674
  // https://typescript-eslint.io/
13681
- ...tsEslint$1.configs.stylisticTypeChecked.map((config) => ({
13675
+ ...tsEslint$1.configs.recommended.map((config) => ({
13682
13676
  ...config,
13683
13677
  files: ["**/*.ts"]
13684
13678
  // We use TS config only for TS files
@@ -13804,11 +13798,11 @@ function getStormConfig(options = {
13804
13798
  rules: {
13805
13799
  // // https://eslint.org/docs/latest/rules/
13806
13800
  // ...eslint.configs.recommended.rules,
13807
- // // https://typescript-eslint.io/
13808
- // ...tsEslint.configs.stylisticTypeChecked.reduce(
13809
- // (ret, record) => ({ ...ret, ...record.rules }),
13810
- // {}
13811
- // ),
13801
+ // https://typescript-eslint.io/
13802
+ ...tsEslint$1.configs.recommended.reduce(
13803
+ (ret, record) => ({ ...ret, ...record.rules }),
13804
+ {}
13805
+ ),
13812
13806
  // Prettier
13813
13807
  ...prettierConfig.rules,
13814
13808
  // https://www.npmjs.com/package/eslint-plugin-unicorn
@@ -13827,7 +13821,14 @@ function getStormConfig(options = {
13827
13821
  ],
13828
13822
  ...options.rules ?? {}
13829
13823
  },
13830
- ignores: ["dist", "coverage", "tmp", ".nx", ...options.ignores || []]
13824
+ ignores: [
13825
+ "dist",
13826
+ "coverage",
13827
+ "tmp",
13828
+ ".nx",
13829
+ "node_modules",
13830
+ ...options.ignores || []
13831
+ ]
13831
13832
  };
13832
13833
  if (options.react) {
13833
13834
  typescriptConfig.plugins = {
@@ -13862,7 +13863,7 @@ function getStormConfig(options = {
13862
13863
  if (options.useReactCompiler) {
13863
13864
  typescriptConfig.plugins = {
13864
13865
  ...typescriptConfig.plugins,
13865
- reactCompiler
13866
+ "react-compiler": reactCompiler
13866
13867
  };
13867
13868
  typescriptConfig.rules = {
13868
13869
  ...typescriptConfig.rules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.69.0",
3
+ "version": "0.69.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": {