@storm-software/eslint 0.53.0 → 0.55.0

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.52.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.54.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.d.mts CHANGED
@@ -11,12 +11,12 @@ interface RuleOptions {
11
11
  '@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
12
12
  /**
13
13
  * Checks dependencies in project's package.json for version mismatches
14
- * @see https://github.com/nrwl/nx/blob/19.5.3/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
14
+ * @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
15
15
  */
16
16
  '@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
17
17
  /**
18
18
  * Ensure that module boundaries are respected within the monorepo
19
- * @see https://github.com/nrwl/nx/blob/19.5.3/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
19
+ * @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
20
20
  */
21
21
  '@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
22
22
  /**
package/dist/preset.d.ts CHANGED
@@ -11,12 +11,12 @@ interface RuleOptions {
11
11
  '@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
12
12
  /**
13
13
  * Checks dependencies in project's package.json for version mismatches
14
- * @see https://github.com/nrwl/nx/blob/19.5.3/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
14
+ * @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
15
15
  */
16
16
  '@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
17
17
  /**
18
18
  * Ensure that module boundaries are respected within the monorepo
19
- * @see https://github.com/nrwl/nx/blob/19.5.3/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
19
+ * @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
20
20
  */
21
21
  '@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
22
22
  /**
package/dist/preset.mjs CHANGED
@@ -1448,6 +1448,14 @@ const config$1 = {
1448
1448
  "unicorn/prefer-module": "off",
1449
1449
  "unicorn/consistent-function-scoping": "off",
1450
1450
  "class-methods-use-this": "off",
1451
+ "@typescript-eslint/prefer-nullish-coalescing": [
1452
+ "error",
1453
+ {
1454
+ ignorePrimitives: {
1455
+ string: true
1456
+ }
1457
+ }
1458
+ ],
1451
1459
  "@typescript-eslint/no-restricted-imports": [
1452
1460
  "error",
1453
1461
  {
@@ -12964,6 +12972,7 @@ function getStormConfig(options = {
12964
12972
  // rules: importRules
12965
12973
  // },
12966
12974
  // Banner
12975
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
12967
12976
  plugin.configs["recommended"][0],
12968
12977
  // TSDoc
12969
12978
  // https://www.npmjs.com/package/eslint-plugin-tsdoc
@@ -13023,10 +13032,10 @@ function getStormConfig(options = {
13023
13032
  "@cspell/spellchecker": [
13024
13033
  "warn",
13025
13034
  {
13026
- configFile: new URL(
13027
- "./.vscode/cspell.json",
13028
- import.meta.url
13029
- ).toString(),
13035
+ // configFile: new URL(
13036
+ // "./.vscode/cspell.json",
13037
+ // import.meta.url
13038
+ // ).toString(),
13030
13039
  autoFix: true
13031
13040
  }
13032
13041
  ]
package/dist/rules.d.ts CHANGED
@@ -9,12 +9,12 @@ export interface RuleOptions {
9
9
  '@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
10
10
  /**
11
11
  * Checks dependencies in project's package.json for version mismatches
12
- * @see https://github.com/nrwl/nx/blob/19.5.3/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
12
+ * @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
13
13
  */
14
14
  '@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
15
15
  /**
16
16
  * Ensure that module boundaries are respected within the monorepo
17
- * @see https://github.com/nrwl/nx/blob/19.5.3/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
17
+ * @see https://github.com/nrwl/nx/blob/19.5.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
18
18
  */
19
19
  '@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
20
20
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.53.0",
3
+ "version": "0.55.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -46,8 +46,8 @@
46
46
  "monorepo"
47
47
  ],
48
48
  "peerDependencies": {
49
- "@nx/eslint": ">=19.5.3",
50
- "@nx/eslint-plugin": ">=19.5.3",
49
+ "@nx/eslint": ">=19.5.6",
50
+ "@nx/eslint-plugin": ">=19.5.6",
51
51
  "eslint": "9.5.0",
52
52
  "graphql": ">=16.9.0"
53
53
  },
@@ -96,8 +96,8 @@
96
96
  },
97
97
  "devDependencies": {
98
98
  "@eslint/config-inspector": "^0.5.1",
99
- "@nx/eslint": ">=19.5.3",
100
- "@nx/eslint-plugin": ">=19.5.3",
99
+ "@nx/eslint": ">=19.5.6",
100
+ "@nx/eslint-plugin": ">=19.5.6",
101
101
  "@types/eslint": "^8.56.10",
102
102
  "@types/eslint__js": "^8.42.3",
103
103
  "@types/node": "^20.14.10",