@storm-software/eslint 0.170.68 → 0.170.70

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.
Files changed (44) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-Z2ZFJBUD.js → chunk-C74DAXLP.js} +0 -2
  3. package/dist/{chunk-WEPTDP5X.js → chunk-DMZFJCWX.js} +2 -5
  4. package/dist/{chunk-ZZRQVLBJ.js → chunk-RU7GXBCG.js} +0 -3
  5. package/dist/chunk-WBEFFLSU.js +13 -0
  6. package/dist/{chunk-EIPIQB5E.js → chunk-WYU7W4UW.js} +1 -4
  7. package/dist/preset.cjs +14708 -16062
  8. package/dist/preset.d.cts +1 -0
  9. package/dist/preset.d.ts +1 -0
  10. package/dist/preset.js +14549 -15253
  11. package/dist/types.d.cts +29 -31
  12. package/dist/types.d.ts +29 -31
  13. package/dist/types.js +1 -4
  14. package/dist/utils/combine.d.cts +1 -0
  15. package/dist/utils/combine.d.ts +1 -0
  16. package/dist/utils/combine.js +1 -2
  17. package/dist/utils/correct-paths.js +2 -2
  18. package/dist/utils/find-workspace-root.js +3 -3
  19. package/dist/utils/format-config.js +20 -2
  20. package/dist/utils/helpers.cjs +1 -1
  21. package/dist/utils/helpers.js +2 -2
  22. package/dist/utils/tsconfig-path.js +4 -4
  23. package/package.json +13 -12
  24. package/dist/chunk-2FWJ22PW.js +0 -349
  25. package/dist/chunk-LRVZTK6Y.js +0 -21
  26. package/dist/chunk-QO5ZXGIE.js +0 -46
  27. package/dist/chunk-UVAZFUOB.js +0 -62
  28. package/dist/chunk-WHUEAYCR.js +0 -236
  29. package/dist/utils/banner-plugin.cjs +0 -458
  30. package/dist/utils/banner-plugin.d.cts +0 -6
  31. package/dist/utils/banner-plugin.d.ts +0 -6
  32. package/dist/utils/banner-plugin.js +0 -4
  33. package/dist/utils/constants.cjs +0 -315
  34. package/dist/utils/constants.d.cts +0 -83
  35. package/dist/utils/constants.d.ts +0 -83
  36. package/dist/utils/constants.js +0 -2
  37. package/dist/utils/get-file-banner.cjs +0 -103
  38. package/dist/utils/get-file-banner.d.cts +0 -12
  39. package/dist/utils/get-file-banner.d.ts +0 -12
  40. package/dist/utils/get-file-banner.js +0 -3
  41. package/dist/utils/index.cjs +0 -333
  42. package/dist/utils/index.d.cts +0 -3
  43. package/dist/utils/index.d.ts +0 -3
  44. package/dist/utils/index.js +0 -6
package/dist/types.d.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { DepConstraint } from '@nx/eslint-plugin/src/utils/runtime-lint-utils';
2
+ import { Options } from '@storm-software/eslint-plugin-banner/rules/banner';
2
3
  import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
3
4
  import { ParserOptions } from '@typescript-eslint/parser';
4
5
  import { Linter } from 'eslint';
@@ -834,11 +835,6 @@ Backward pagination arguments
834
835
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
835
836
  */
836
837
  'astro/valid-compile'?: Linter.RuleEntry<[]>
837
- /**
838
- * Ensures the file has a organization specific banner at the top of source code files
839
- * @see https://developer.stormsoftware.com/eslint/rules/banner
840
- */
841
- 'banner/banner'?: Linter.RuleEntry<BannerBanner>
842
838
  /**
843
839
  * Enforce the use of variables within the scope they are defined
844
840
  * @see https://eslint.org/docs/latest/rules/block-scoped-var
@@ -8403,19 +8399,6 @@ type AstroSortAttributes = []|[{
8403
8399
  ignoreCase?: boolean
8404
8400
  order?: ("asc" | "desc")
8405
8401
  }]
8406
- // ----- banner/banner -----
8407
- type BannerBanner = []|[{
8408
-
8409
- banner?: string
8410
-
8411
- name?: string
8412
-
8413
- commentType?: string
8414
-
8415
- numNewlines?: number
8416
-
8417
- lineEndings?: ("unix" | "windows")
8418
- }]
8419
8402
  // ----- block-spacing -----
8420
8403
  type BlockSpacing = []|[("always" | "never")]
8421
8404
  // ----- brace-style -----
@@ -18121,7 +18104,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
18121
18104
  onlyEquality?: boolean
18122
18105
  }]
18123
18106
  // Names of all the configs
18124
- type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'mdx/flat' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier' | 'storm/perfectionist/rules' | 'storm/pnpm/setup' | 'storm/pnpm/package-json' | 'storm/pnpm/pnpm-workspace-yaml' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/tsdoc/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/regexp/rules' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules' | 'storm/zod/rules'
18107
+ type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'mdx/flat' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier' | 'storm/perfectionist/rules' | 'storm/pnpm/setup' | 'storm/pnpm/package-json' | 'storm/pnpm/pnpm-workspace-yaml' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/tsdoc/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/regexp/rules' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules' | 'storm/zod/rules'
18125
18108
 
18126
18109
  /**
18127
18110
  * Vendor types from Prettier so we don't rely on the dependency.
@@ -18351,6 +18334,18 @@ interface OptionsTSDoc extends OptionsOverrides {
18351
18334
  */
18352
18335
  configFile?: string;
18353
18336
  }
18337
+ interface OptionsJSDoc extends OptionsOverrides {
18338
+ /**
18339
+ * The JSDoc ESLint rule severity.
18340
+ *
18341
+ * @defaultValue "error"
18342
+ */
18343
+ severity?: "error" | "warn" | "off";
18344
+ /**
18345
+ * Enable stylistic rules for JSDoc.
18346
+ */
18347
+ stylistic?: boolean;
18348
+ }
18354
18349
  interface OptionsTypeScriptParserOptions {
18355
18350
  /**
18356
18351
  * Additional parser options for TypeScript.
@@ -18650,23 +18645,20 @@ interface OptionsCSpell extends OptionsOverrides {
18650
18645
  * The ESLint globals property value.
18651
18646
  */
18652
18647
  type ESLintGlobalsPropValue = boolean | "readonly" | "readable" | "writable" | "writeable";
18648
+ type OptionsBanner = OptionsOverrides & Options[0];
18653
18649
  interface OptionsJavascript {
18654
- /**
18655
- * The name of the repository used in adding the banner comments
18656
- */
18657
- name?: string;
18658
18650
  /**
18659
18651
  * An object containing a list of extra global variables to include in the configuration.
18660
18652
  */
18661
18653
  globals?: Record<string, ESLintGlobalsPropValue>;
18654
+ }
18655
+ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, OptionsProjectType {
18662
18656
  /**
18663
- * The style of line endings to use.
18657
+ * Options to control the generated file header banner.
18664
18658
  *
18665
- * @defaultValue "unix"
18659
+ * @see https://github.com/storm-software/eslint-plugin-banner
18666
18660
  */
18667
- lineEndings?: "unix" | "windows";
18668
- }
18669
- interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, OptionsProjectType {
18661
+ banner?: boolean | OptionsBanner;
18670
18662
  /**
18671
18663
  * Enable gitignore support.
18672
18664
  *
@@ -18731,7 +18723,13 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18731
18723
  */
18732
18724
  unicorn?: boolean | OptionsUnicorn;
18733
18725
  /**
18734
- * Options for eslint-plugin-tsdoc.
18726
+ * Options for eslint-plugin-jsdoc.
18727
+ *
18728
+ * @defaultValue false
18729
+ */
18730
+ jsdoc?: boolean | OptionsJSDoc;
18731
+ /**
18732
+ * Options for @storm-software/eslint-plugin-tsdoc.
18735
18733
  *
18736
18734
  * @defaultValue true
18737
18735
  */
@@ -18739,7 +18737,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18739
18737
  /**
18740
18738
  * Enable Zod support.
18741
18739
  *
18742
- * @defaultValue true
18740
+ * @defaultValue false
18743
18741
  */
18744
18742
  zod?: boolean | OptionsOverrides;
18745
18743
  /**
@@ -18881,4 +18879,4 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18881
18879
  autoRenamePlugins?: boolean;
18882
18880
  }
18883
18881
 
18884
- export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTSDoc, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
18882
+ export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsBanner, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSDoc, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTSDoc, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
package/dist/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { DepConstraint } from '@nx/eslint-plugin/src/utils/runtime-lint-utils';
2
+ import { Options } from '@storm-software/eslint-plugin-banner/rules/banner';
2
3
  import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
3
4
  import { ParserOptions } from '@typescript-eslint/parser';
4
5
  import { Linter } from 'eslint';
@@ -834,11 +835,6 @@ Backward pagination arguments
834
835
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
835
836
  */
836
837
  'astro/valid-compile'?: Linter.RuleEntry<[]>
837
- /**
838
- * Ensures the file has a organization specific banner at the top of source code files
839
- * @see https://developer.stormsoftware.com/eslint/rules/banner
840
- */
841
- 'banner/banner'?: Linter.RuleEntry<BannerBanner>
842
838
  /**
843
839
  * Enforce the use of variables within the scope they are defined
844
840
  * @see https://eslint.org/docs/latest/rules/block-scoped-var
@@ -8403,19 +8399,6 @@ type AstroSortAttributes = []|[{
8403
8399
  ignoreCase?: boolean
8404
8400
  order?: ("asc" | "desc")
8405
8401
  }]
8406
- // ----- banner/banner -----
8407
- type BannerBanner = []|[{
8408
-
8409
- banner?: string
8410
-
8411
- name?: string
8412
-
8413
- commentType?: string
8414
-
8415
- numNewlines?: number
8416
-
8417
- lineEndings?: ("unix" | "windows")
8418
- }]
8419
8402
  // ----- block-spacing -----
8420
8403
  type BlockSpacing = []|[("always" | "never")]
8421
8404
  // ----- brace-style -----
@@ -18121,7 +18104,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
18121
18104
  onlyEquality?: boolean
18122
18105
  }]
18123
18106
  // Names of all the configs
18124
- type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'mdx/flat' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier' | 'storm/perfectionist/rules' | 'storm/pnpm/setup' | 'storm/pnpm/package-json' | 'storm/pnpm/pnpm-workspace-yaml' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/tsdoc/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/regexp/rules' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules' | 'storm/zod/rules'
18107
+ type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'mdx/flat' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/prettier' | 'storm/perfectionist/rules' | 'storm/pnpm/setup' | 'storm/pnpm/package-json' | 'storm/pnpm/pnpm-workspace-yaml' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/tsdoc/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/regexp/rules' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules' | 'storm/zod/rules'
18125
18108
 
18126
18109
  /**
18127
18110
  * Vendor types from Prettier so we don't rely on the dependency.
@@ -18351,6 +18334,18 @@ interface OptionsTSDoc extends OptionsOverrides {
18351
18334
  */
18352
18335
  configFile?: string;
18353
18336
  }
18337
+ interface OptionsJSDoc extends OptionsOverrides {
18338
+ /**
18339
+ * The JSDoc ESLint rule severity.
18340
+ *
18341
+ * @defaultValue "error"
18342
+ */
18343
+ severity?: "error" | "warn" | "off";
18344
+ /**
18345
+ * Enable stylistic rules for JSDoc.
18346
+ */
18347
+ stylistic?: boolean;
18348
+ }
18354
18349
  interface OptionsTypeScriptParserOptions {
18355
18350
  /**
18356
18351
  * Additional parser options for TypeScript.
@@ -18650,23 +18645,20 @@ interface OptionsCSpell extends OptionsOverrides {
18650
18645
  * The ESLint globals property value.
18651
18646
  */
18652
18647
  type ESLintGlobalsPropValue = boolean | "readonly" | "readable" | "writable" | "writeable";
18648
+ type OptionsBanner = OptionsOverrides & Options[0];
18653
18649
  interface OptionsJavascript {
18654
- /**
18655
- * The name of the repository used in adding the banner comments
18656
- */
18657
- name?: string;
18658
18650
  /**
18659
18651
  * An object containing a list of extra global variables to include in the configuration.
18660
18652
  */
18661
18653
  globals?: Record<string, ESLintGlobalsPropValue>;
18654
+ }
18655
+ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, OptionsProjectType {
18662
18656
  /**
18663
- * The style of line endings to use.
18657
+ * Options to control the generated file header banner.
18664
18658
  *
18665
- * @defaultValue "unix"
18659
+ * @see https://github.com/storm-software/eslint-plugin-banner
18666
18660
  */
18667
- lineEndings?: "unix" | "windows";
18668
- }
18669
- interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, OptionsProjectType {
18661
+ banner?: boolean | OptionsBanner;
18670
18662
  /**
18671
18663
  * Enable gitignore support.
18672
18664
  *
@@ -18731,7 +18723,13 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18731
18723
  */
18732
18724
  unicorn?: boolean | OptionsUnicorn;
18733
18725
  /**
18734
- * Options for eslint-plugin-tsdoc.
18726
+ * Options for eslint-plugin-jsdoc.
18727
+ *
18728
+ * @defaultValue false
18729
+ */
18730
+ jsdoc?: boolean | OptionsJSDoc;
18731
+ /**
18732
+ * Options for @storm-software/eslint-plugin-tsdoc.
18735
18733
  *
18736
18734
  * @defaultValue true
18737
18735
  */
@@ -18739,7 +18737,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18739
18737
  /**
18740
18738
  * Enable Zod support.
18741
18739
  *
18742
- * @defaultValue true
18740
+ * @defaultValue false
18743
18741
  */
18744
18742
  zod?: boolean | OptionsOverrides;
18745
18743
  /**
@@ -18881,4 +18879,4 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
18881
18879
  autoRenamePlugins?: boolean;
18882
18880
  }
18883
18881
 
18884
- export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTSDoc, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
18882
+ export type { Awaitable, ConfigNames, ESLintGlobalsPropValue, OptionsBanner, OptionsCSpell, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsGraphQL, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSDoc, OptionsJavascript, OptionsNext, OptionsNx, OptionsNxDependencyChecks, OptionsNxEnforceModuleBoundaries, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsRegExp, OptionsStorybook, OptionsStylistic, OptionsTSDoc, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
package/dist/types.js CHANGED
@@ -1,4 +1 @@
1
- import { init_esm_shims } from './chunk-QO5ZXGIE.js';
2
-
3
- // src/types.ts
4
- init_esm_shims();
1
+ import './chunk-WBEFFLSU.js';
@@ -1,6 +1,7 @@
1
1
  import { Awaitable } from 'eslint-flat-config-utils';
2
2
  import { TypedFlatConfigItem } from '../types.cjs';
3
3
  import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
4
+ import '@storm-software/eslint-plugin-banner/rules/banner';
4
5
  import '@stylistic/eslint-plugin';
5
6
  import '@typescript-eslint/parser';
6
7
  import 'eslint';
@@ -1,6 +1,7 @@
1
1
  import { Awaitable } from 'eslint-flat-config-utils';
2
2
  import { TypedFlatConfigItem } from '../types.js';
3
3
  import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
4
+ import '@storm-software/eslint-plugin-banner/rules/banner';
4
5
  import '@stylistic/eslint-plugin';
5
6
  import '@typescript-eslint/parser';
6
7
  import 'eslint';
@@ -1,7 +1,6 @@
1
- import { init_esm_shims } from '../chunk-QO5ZXGIE.js';
1
+ import '../chunk-WBEFFLSU.js';
2
2
 
3
3
  // src/utils/combine.ts
4
- init_esm_shims();
5
4
  async function combine(...configs) {
6
5
  const resolved = await Promise.all(configs);
7
6
  return resolved.flat();
@@ -1,2 +1,2 @@
1
- export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-ZZRQVLBJ.js';
2
- import '../chunk-QO5ZXGIE.js';
1
+ export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-RU7GXBCG.js';
2
+ import '../chunk-WBEFFLSU.js';
@@ -1,3 +1,3 @@
1
- export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-EIPIQB5E.js';
2
- import '../chunk-ZZRQVLBJ.js';
3
- import '../chunk-QO5ZXGIE.js';
1
+ export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-WYU7W4UW.js';
2
+ import '../chunk-RU7GXBCG.js';
3
+ import '../chunk-WBEFFLSU.js';
@@ -1,2 +1,20 @@
1
- export { formatConfig } from '../chunk-LRVZTK6Y.js';
2
- import '../chunk-QO5ZXGIE.js';
1
+ import '../chunk-WBEFFLSU.js';
2
+
3
+ // src/utils/format-config.ts
4
+ var formatConfig = (name, config = []) => {
5
+ return config.map((config2, index) => {
6
+ if (!config2 || config2.name) {
7
+ return config2 ?? {};
8
+ }
9
+ return {
10
+ ...config2,
11
+ name: `Storm Software (${config2.name ? config2.name : name}) #${index + 1}`,
12
+ settings: {
13
+ "import/resolver": "node",
14
+ ...config2.settings ?? {}
15
+ }
16
+ };
17
+ });
18
+ };
19
+
20
+ export { formatConfig };
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
 
9
9
  var process__default = /*#__PURE__*/_interopDefault(process);
10
10
 
11
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__c6e5a1ff3e71b7415dce15be46368d04/node_modules/tsup/assets/cjs_shims.js
11
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__e047f64c50df51d8b0fb5bb8be64db0f/node_modules/tsup/assets/cjs_shims.js
12
12
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
13
13
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
14
14
  var scopeUrl = url.fileURLToPath(new URL(".", importMetaUrl));
@@ -1,2 +1,2 @@
1
- export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-Z2ZFJBUD.js';
2
- import '../chunk-QO5ZXGIE.js';
1
+ export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-C74DAXLP.js';
2
+ import '../chunk-WBEFFLSU.js';
@@ -1,4 +1,4 @@
1
- export { checkTsConfigPath, getTsConfigPath } from '../chunk-WEPTDP5X.js';
2
- import '../chunk-EIPIQB5E.js';
3
- import '../chunk-ZZRQVLBJ.js';
4
- import '../chunk-QO5ZXGIE.js';
1
+ export { checkTsConfigPath, getTsConfigPath } from '../chunk-DMZFJCWX.js';
2
+ import '../chunk-WYU7W4UW.js';
3
+ import '../chunk-RU7GXBCG.js';
4
+ import '../chunk-WBEFFLSU.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.170.68",
3
+ "version": "0.170.70",
4
4
  "private": false,
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "keywords": [
@@ -133,7 +133,7 @@
133
133
  },
134
134
  "main": "./dist/index.js",
135
135
  "types": "./dist/index.d.ts",
136
- "files": ["dist/**/*"],
136
+ "files": ["dist"],
137
137
  "dependencies": {
138
138
  "@antfu/install-pkg": "^1.1.0",
139
139
  "@clack/prompts": "^0.10.1",
@@ -141,15 +141,16 @@
141
141
  "@eslint/eslintrc": "^3.3.5",
142
142
  "@eslint/markdown": "^6.6.0",
143
143
  "@nx/eslint-plugin": "22.7.5",
144
- "@storm-software/config": "1.137.78",
145
- "@storm-software/config-tools": "1.190.46",
146
- "@storm-software/eslint-plugin-banner": "0.0.8",
147
- "@storm-software/eslint-plugin-pnpm": "0.0.8",
148
- "@storm-software/eslint-plugin-tsdoc": "0.0.8",
144
+ "@storm-software/config": "1.137.80",
145
+ "@storm-software/config-tools": "1.190.48",
146
+ "@storm-software/eslint-plugin-banner": "0.0.10",
147
+ "@storm-software/eslint-plugin-pnpm": "0.0.10",
148
+ "@storm-software/eslint-plugin-tsdoc": "0.0.10",
149
+ "@storm-software/package-constants": "0.1.61",
149
150
  "@stylistic/eslint-plugin": "^4.4.1",
150
- "@typescript-eslint/eslint-plugin": "^8.60.1",
151
- "@typescript-eslint/parser": "^8.60.1",
152
- "@typescript-eslint/utils": "^8.60.1",
151
+ "@typescript-eslint/eslint-plugin": "^8.61.0",
152
+ "@typescript-eslint/parser": "^8.61.0",
153
+ "@typescript-eslint/utils": "^8.61.0",
153
154
  "@vitest/eslint-plugin": "^1.6.19",
154
155
  "chalk": "^4.1.2",
155
156
  "defu": "^6.1.7",
@@ -211,7 +212,7 @@
211
212
  "eslint-plugin-relay": "^1.8.3",
212
213
  "eslint-plugin-storybook": "^0.11.6",
213
214
  "eslint-typegen": "^2.3.1",
214
- "graphql": "^16.14.1",
215
+ "graphql": "^16.14.2",
215
216
  "minimatch": "^10.2.5",
216
217
  "prettier-plugin-astro": "^0.14.1",
217
218
  "tsup": "8.4.0",
@@ -242,5 +243,5 @@
242
243
  "prettier-plugin-astro": "^0.14.0"
243
244
  },
244
245
  "publishConfig": { "access": "public" },
245
- "gitHead": "26f7a9ce6b6143aeac371a55816e83d27b6ea4d6"
246
+ "gitHead": "ff3900187f7e15b7d04c8cba134a09b8634a1e2d"
246
247
  }