@storm-software/eslint 0.140.1 → 0.141.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.140.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.140.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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/dist/preset.js CHANGED
@@ -2705,7 +2705,9 @@ __name(perfectionist, "perfectionist");
2705
2705
 
2706
2706
  // src/configs/pnpm.ts
2707
2707
  async function pnpm(options = {}) {
2708
- const { overrides = {} } = options;
2708
+ const { overrides = {}, skip = [
2709
+ "typescript"
2710
+ ] } = options;
2709
2711
  const [pluginPnpm, parserJsonc] = await Promise.all([
2710
2712
  interopDefault(import("eslint-plugin-pnpm")),
2711
2713
  interopDefault(import("jsonc-eslint-parser"))
@@ -2728,7 +2730,12 @@ async function pnpm(options = {}) {
2728
2730
  parser: parserJsonc
2729
2731
  },
2730
2732
  rules: {
2731
- "pnpm/enforce-catalog": "error",
2733
+ "pnpm/enforce-catalog": [
2734
+ "error",
2735
+ {
2736
+ skip
2737
+ }
2738
+ ],
2732
2739
  "pnpm/valid-catalog": "error",
2733
2740
  "pnpm/prefer-workspace-settings": "error",
2734
2741
  ...overrides
package/dist/types.d.ts CHANGED
@@ -12717,6 +12717,8 @@ type PnpmEnforceCatalog = []|[{
12717
12717
  defaultCatalog?: string
12718
12718
 
12719
12719
  reuseExistingCatalog?: boolean
12720
+
12721
+ skip?: string[]
12720
12722
  }]
12721
12723
  // ----- pnpm/prefer-workspace-settings -----
12722
12724
  type PnpmPreferWorkspaceSettings = []|[{
@@ -16808,6 +16810,14 @@ interface OptionsNx extends OptionsOverrides {
16808
16810
  */
16809
16811
  moduleBoundaries?: OptionsNxEnforceModuleBoundaries | false;
16810
16812
  }
16813
+ interface OptionsPnpm extends OptionsOverrides {
16814
+ /**
16815
+ * A list of dependencies to ignore for the `pnpm/enforce-catalog` rule.
16816
+ *
16817
+ * @defaultValue ["typescript"]
16818
+ */
16819
+ skip?: string[];
16820
+ }
16811
16821
  interface OptionsCSpell extends OptionsOverrides {
16812
16822
  /**
16813
16823
  * A path to a CSpell configuration file
@@ -16884,7 +16894,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
16884
16894
  *
16885
16895
  * @defaultValue true
16886
16896
  */
16887
- pnpm?: boolean | OptionsOverrides;
16897
+ pnpm?: boolean | OptionsPnpm;
16888
16898
  /**
16889
16899
  * Enable JSX related rules.
16890
16900
  *
@@ -17038,4 +17048,4 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
17038
17048
  autoRenamePlugins?: boolean;
17039
17049
  }
17040
17050
 
17041
- export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
17051
+ export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.140.1",
3
+ "version": "0.141.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": {