@storm-software/eslint 0.80.0 → 0.82.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.79.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.81.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
@@ -7006,6 +7006,12 @@ type YmlSpacedComment =
7006
7006
  }
7007
7007
  ];
7008
7008
 
7009
+ type TypeScriptEslintConfigType = "none" | "all" | "base" | "disable-type-checked" | "eslint-recommended" | "recommended-type-checked-only" | "recommended-type-checked" | "recommended" | "strict-type-checked" | "strict" | "stylistic-type-checked-only" | "stylistic-type-checked" | "stylistic";
7010
+ interface GetStormRulesConfigOptions {
7011
+ tsConfigType?: TypeScriptEslintConfigType;
7012
+ useUnicorn?: boolean;
7013
+ }
7014
+
7009
7015
  /**
7010
7016
  * The module boundary dependency constraints.
7011
7017
  */
@@ -7024,7 +7030,7 @@ type PresetModuleBoundary = {
7024
7030
  /**
7025
7031
  * The ESLint preset options.
7026
7032
  */
7027
- interface PresetOptions {
7033
+ type PresetOptions = GetStormRulesConfigOptions & {
7028
7034
  name?: string;
7029
7035
  banner?: string;
7030
7036
  rules?: RuleOptions;
@@ -7035,7 +7041,7 @@ interface PresetOptions {
7035
7041
  react?: false | Linter.RulesRecord;
7036
7042
  useReactCompiler?: boolean;
7037
7043
  nextFiles?: string[];
7038
- }
7044
+ };
7039
7045
  /**
7040
7046
  * Get the ESLint configuration for a Storm workspace.
7041
7047
  *
package/dist/preset.d.ts CHANGED
@@ -7006,6 +7006,12 @@ type YmlSpacedComment =
7006
7006
  }
7007
7007
  ];
7008
7008
 
7009
+ type TypeScriptEslintConfigType = "none" | "all" | "base" | "disable-type-checked" | "eslint-recommended" | "recommended-type-checked-only" | "recommended-type-checked" | "recommended" | "strict-type-checked" | "strict" | "stylistic-type-checked-only" | "stylistic-type-checked" | "stylistic";
7010
+ interface GetStormRulesConfigOptions {
7011
+ tsConfigType?: TypeScriptEslintConfigType;
7012
+ useUnicorn?: boolean;
7013
+ }
7014
+
7009
7015
  /**
7010
7016
  * The module boundary dependency constraints.
7011
7017
  */
@@ -7024,7 +7030,7 @@ type PresetModuleBoundary = {
7024
7030
  /**
7025
7031
  * The ESLint preset options.
7026
7032
  */
7027
- interface PresetOptions {
7033
+ type PresetOptions = GetStormRulesConfigOptions & {
7028
7034
  name?: string;
7029
7035
  banner?: string;
7030
7036
  rules?: RuleOptions;
@@ -7035,7 +7041,7 @@ interface PresetOptions {
7035
7041
  react?: false | Linter.RulesRecord;
7036
7042
  useReactCompiler?: boolean;
7037
7043
  nextFiles?: string[];
7038
- }
7044
+ };
7039
7045
  /**
7040
7046
  * Get the ESLint configuration for a Storm workspace.
7041
7047
  *