@open-xchange/linter-presets 1.15.0 → 1.15.2

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 (45) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/dist/eslint/core/base.d.ts +2 -2
  3. package/dist/eslint/core/directives.d.ts +2 -2
  4. package/dist/eslint/core/js.d.ts +2 -2
  5. package/dist/eslint/core/jsdoc.d.ts +2 -2
  6. package/dist/eslint/core/json.d.ts +2 -2
  7. package/dist/eslint/core/license.d.ts +2 -2
  8. package/dist/eslint/core/markdown.d.ts +2 -2
  9. package/dist/eslint/core/packages.d.ts +2 -2
  10. package/dist/eslint/core/promises.d.ts +2 -2
  11. package/dist/eslint/core/regexp.d.ts +2 -2
  12. package/dist/eslint/core/stylistic.d.ts +2 -2
  13. package/dist/eslint/core/ts.d.ts +2 -2
  14. package/dist/eslint/core/ts.js +2 -1
  15. package/dist/eslint/core/vue.d.ts +2 -2
  16. package/dist/eslint/core/yaml.d.ts +2 -2
  17. package/dist/eslint/env/browser.d.ts +2 -2
  18. package/dist/eslint/env/codecept.d.ts +2 -2
  19. package/dist/eslint/env/decorators.d.ts +2 -2
  20. package/dist/eslint/env/eslint.d.ts +2 -2
  21. package/dist/eslint/env/jest.d.ts +2 -2
  22. package/dist/eslint/env/node.d.ts +2 -2
  23. package/dist/eslint/env/project.d.ts +2 -2
  24. package/dist/eslint/env/react.d.ts +2 -2
  25. package/dist/eslint/env/react.js +2 -4
  26. package/dist/eslint/env/tsconfig.d.ts +2 -2
  27. package/dist/eslint/env/vitest.d.ts +2 -2
  28. package/dist/eslint/index.d.ts +4 -4
  29. package/dist/eslint/shared/env-utils.d.ts +9 -7
  30. package/dist/eslint/shared/restricted.d.ts +4 -4
  31. package/dist/eslint/shared/restricted.js +7 -6
  32. package/dist/eslint/shared/unittest.d.ts +2 -2
  33. package/docs/eslint/README.md +2 -2
  34. package/docs/eslint/env/browser.md +2 -2
  35. package/docs/eslint/env/codecept.md +2 -2
  36. package/docs/eslint/env/decorators.md +2 -2
  37. package/docs/eslint/env/eslint.md +2 -2
  38. package/docs/eslint/env/jest.md +2 -2
  39. package/docs/eslint/env/node.md +2 -2
  40. package/docs/eslint/env/project.md +2 -2
  41. package/docs/eslint/env/react.md +2 -2
  42. package/docs/eslint/env/tsconfig.md +2 -2
  43. package/docs/eslint/env/vitest.md +2 -2
  44. package/docs/stylelint/README.md +1 -1
  45. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## `1.15.2` – 2025-Nov-03
4
+
5
+ - fixed: (ESLint) temporarily disable `@typescript-eslint/unified-signatures` ([typescript-eslint#11732](https://github.com/typescript-eslint/typescript-eslint/issues/11732))
6
+ - chore: bump dependencies
7
+
8
+ ## `1.15.1` – 2025-Oct-30
9
+
10
+ - fixed: (ESLint) type incompatibilities
11
+ - chore: bump dependencies
12
+
3
13
  ## `1.15.0` – 2025-Oct-24
4
14
 
5
15
  - removed: (ESLint) plugin `eslint-plugin-react-hooks-static-deps`
@@ -46,7 +56,7 @@
46
56
 
47
57
  ## `1.9.5` – 2025-Sep-22
48
58
 
49
- - chore: (ESLint) bump `eslint-plugin-jsdoc` to v60.1.1 (fix for <https://github.com/gajus/eslint-plugin-jsdoc/issues/1538>)
59
+ - chore: (ESLint) bump `eslint-plugin-jsdoc` to v60.1.1 (fix for [eslint-plugin-jsdoc#1538](https://github.com/gajus/eslint-plugin-jsdoc/issues/1538))
50
60
 
51
61
  ## `1.9.4` – 2025-Sep-18
52
62
 
@@ -545,8 +555,8 @@
545
555
  ## `0.1.11` – 2024-Jul-30
546
556
 
547
557
  - chore: bump dependencies
548
- - skipped eslint-plugin-jsdoc: <https://github.com/gajus/eslint-plugin-jsdoc/issues/1282>
549
- - skipped @stylistic/eslint-plugin: <https://github.com/typescript-eslint/typescript-eslint/issues/9655>
558
+ - skipped eslint-plugin-jsdoc: [eslint-plugin-jsdoc#1282](https://github.com/gajus/eslint-plugin-jsdoc/issues/1282)
559
+ - skipped @stylistic/eslint-plugin: [typescript-eslint#9655](https://github.com/typescript-eslint/typescript-eslint/issues/9655)
550
560
 
551
561
  ## `0.1.10` – 2024-Jul-26
552
562
 
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, LanguageConfig } from "../shared/env-utils.js";
1
+ import type { ConfigArg, LanguageConfig } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines standard module settings and additional rules targeting JavaScript
4
4
  * _and_ TypeScript source files.
@@ -12,4 +12,4 @@ import type { ConfigWithExtendsArg, LanguageConfig } from "../shared/env-utils.j
12
12
  * @returns
13
13
  * The configuration entries to be added to the resulting configuration array.
14
14
  */
15
- export default function base(languageConfig: LanguageConfig): ConfigWithExtendsArg;
15
+ export default function base(languageConfig: LanguageConfig): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Checks inline linter directives.
4
4
  *
@@ -8,4 +8,4 @@ import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
8
8
  * @returns
9
9
  * The configuration entries to be added to the resulting configuration array.
10
10
  */
11
- export default function directives(): ConfigWithExtendsArg;
11
+ export default function directives(): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines additional standard rules targeting JavaScript but _not_ TypeScript
4
4
  * source files.
@@ -6,4 +6,4 @@ import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
6
6
  * @returns
7
7
  * The configuration entries to be added to the resulting configuration array.
8
8
  */
9
- export default function js(): ConfigWithExtendsArg;
9
+ export default function js(): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Checks the JSDoc comments in source files.
4
4
  *
@@ -8,4 +8,4 @@ import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
8
8
  * @returns
9
9
  * The configuration entries to be added to the resulting configuration array.
10
10
  */
11
- export default function jsdoc(): ConfigWithExtendsArg;
11
+ export default function jsdoc(): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, StylisticConfig } from "../shared/env-utils.js";
1
+ import type { ConfigArg, StylisticConfig } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines standard linting rules for JSON files.
4
4
  *
@@ -11,4 +11,4 @@ import type { ConfigWithExtendsArg, StylisticConfig } from "../shared/env-utils.
11
11
  * @returns
12
12
  * The configuration entries to be added to the resulting configuration array.
13
13
  */
14
- export default function json(stylisticConfig: StylisticConfig): ConfigWithExtendsArg;
14
+ export default function json(stylisticConfig: StylisticConfig): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Checks the existence of license headers in source files.
4
4
  *
@@ -11,4 +11,4 @@ import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
11
11
  * @returns
12
12
  * The configuration entries to be added to the resulting configuration array.
13
13
  */
14
- export default function license(path: string): ConfigWithExtendsArg;
14
+ export default function license(path: string): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import type { ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines standard linting rules for Markdown files.
4
4
  *
@@ -8,4 +8,4 @@ import type { ConfigWithExtendsArg } from "../shared/env-utils.js";
8
8
  * @returns
9
9
  * The configuration entries to be added to the resulting configuration array.
10
10
  */
11
- export default function markdown(): ConfigWithExtendsArg;
11
+ export default function markdown(): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, PackagesConfig } from "../shared/env-utils.js";
1
+ import type { ConfigArg, PackagesConfig } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines linting rules for outdated or unneeded external dependencies.
4
4
  *
@@ -11,4 +11,4 @@ import type { ConfigWithExtendsArg, PackagesConfig } from "../shared/env-utils.j
11
11
  * @returns
12
12
  * The configuration entries to be added to the resulting configuration array.
13
13
  */
14
- export default function packages(packagesConfig: PackagesConfig): ConfigWithExtendsArg;
14
+ export default function packages(packagesConfig: PackagesConfig): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import type { ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Checks for correct usage of native promises.
4
4
  *
@@ -8,4 +8,4 @@ import type { ConfigWithExtendsArg } from "../shared/env-utils.js";
8
8
  * @returns
9
9
  * The configuration entries to be added to the resulting configuration array.
10
10
  */
11
- export default function promises(): ConfigWithExtendsArg;
11
+ export default function promises(): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Checks the regular expressions in source files.
4
4
  *
@@ -8,4 +8,4 @@ import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
8
8
  * @returns
9
9
  * The configuration entries to be added to the resulting configuration array.
10
10
  */
11
- export default function regexp(): ConfigWithExtendsArg;
11
+ export default function regexp(): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, StylisticConfig } from "../shared/env-utils.js";
1
+ import type { ConfigArg, StylisticConfig } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines standard (opinionated) linter rules for source code style.
4
4
  *
@@ -12,4 +12,4 @@ import type { ConfigWithExtendsArg, StylisticConfig } from "../shared/env-utils.
12
12
  * @returns
13
13
  * The configuration entries to be added to the resulting configuration array.
14
14
  */
15
- export default function stylistic(stylisticConfig: StylisticConfig): ConfigWithExtendsArg;
15
+ export default function stylistic(stylisticConfig: StylisticConfig): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines standard rules for TypeScript source files.
4
4
  *
@@ -11,4 +11,4 @@ import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
11
11
  * @returns
12
12
  * The configuration entries to be added to the resulting configuration array.
13
13
  */
14
- export default function ts(rootDir: string): ConfigWithExtendsArg;
14
+ export default function ts(rootDir: string): ConfigArg;
@@ -78,7 +78,8 @@ export default function ts(rootDir) {
78
78
  "@typescript-eslint/restrict-template-expressions": "off",
79
79
  "@typescript-eslint/return-await": ["error", "always"],
80
80
  "@typescript-eslint/switch-exhaustiveness-check": ["error", { considerDefaultExhaustiveForUnions: true }],
81
- "@typescript-eslint/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
81
+ // TODO: rule crashes always with ESLint 9.39: https://github.com/typescript-eslint/typescript-eslint/issues/11732
82
+ "@typescript-eslint/unified-signatures": "off", /* ["error", { ignoreDifferentlyNamedParameters: true }], */
82
83
  },
83
84
  },
84
85
  // fixes for module definition files
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, LanguageConfig, StylisticConfig } from "../shared/env-utils.js";
1
+ import type { ConfigArg, LanguageConfig, StylisticConfig } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Creates configuration objects with linter rules for Vue.js.
4
4
  *
@@ -14,4 +14,4 @@ import type { ConfigWithExtendsArg, LanguageConfig, StylisticConfig } from "../s
14
14
  * @returns
15
15
  * The configuration entries to be added to the resulting configuration array.
16
16
  */
17
- export default function vue(languageConfig: LanguageConfig, stylisticConfig: StylisticConfig): ConfigWithExtendsArg;
17
+ export default function vue(languageConfig: LanguageConfig, stylisticConfig: StylisticConfig): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, StylisticConfig } from "../shared/env-utils.js";
1
+ import type { ConfigArg, StylisticConfig } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Defines standard linting rules for YAML files.
4
4
  *
@@ -11,4 +11,4 @@ import type { ConfigWithExtendsArg, StylisticConfig } from "../shared/env-utils.
11
11
  * @returns
12
12
  * The configuration entries to be added to the resulting configuration array.
13
13
  */
14
- export default function yaml(stylisticConfig: StylisticConfig): ConfigWithExtendsArg;
14
+ export default function yaml(stylisticConfig: StylisticConfig): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  import type { EnvRestrictedOptions } from "../shared/restricted.js";
3
3
  /**
4
4
  * Configuration options for the environment preset "env.browser".
@@ -20,4 +20,4 @@ export interface EnvBrowserOptions extends EnvRestrictedOptions {
20
20
  * @returns
21
21
  * The configuration entries to be added to the resulting configuration array.
22
22
  */
23
- export default function browser(envOptions: EnvBrowserOptions): ConfigWithExtendsArg;
23
+ export default function browser(envOptions: EnvBrowserOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "../shared/env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Configuration options for the environment preset "env.codecept".
4
4
  */
@@ -18,4 +18,4 @@ export interface EnvCodeceptOptions extends EnvBaseOptions {
18
18
  * @returns
19
19
  * The configuration entries to be added to the resulting configuration array.
20
20
  */
21
- export default function codecept(envOptions: EnvCodeceptOptions): ConfigWithExtendsArg;
21
+ export default function codecept(envOptions: EnvCodeceptOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "../shared/env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Configuration options for the environment preset "env.decorators".
4
4
  */
@@ -17,4 +17,4 @@ export interface EnvDecoratorsOptions extends EnvBaseOptions {
17
17
  * @returns
18
18
  * The configuration entries to be added to the resulting configuration array.
19
19
  */
20
- export default function decorators(envOptions: EnvBaseOptions): ConfigWithExtendsArg;
20
+ export default function decorators(envOptions: EnvBaseOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "../shared/env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Configuration options for the environment preset "env.eslint".
4
4
  */
@@ -16,4 +16,4 @@ export interface EnvEslintOptions extends EnvBaseOptions {
16
16
  * @returns
17
17
  * The configuration entries to be added to the resulting configuration array.
18
18
  */
19
- export default function eslint(envOptions: EnvEslintOptions): ConfigWithExtendsArg;
19
+ export default function eslint(envOptions: EnvEslintOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  import { type EnvUnitTestOptions } from "../shared/unittest.js";
3
3
  /**
4
4
  * Configuration options for the environment preset "env.jest".
@@ -21,4 +21,4 @@ export interface EnvJestOptions extends EnvUnitTestOptions {
21
21
  * @returns
22
22
  * The configuration entries to be added to the resulting configuration array.
23
23
  */
24
- export default function jest(envOptions: EnvJestOptions): ConfigWithExtendsArg;
24
+ export default function jest(envOptions: EnvJestOptions): ConfigArg;
@@ -1,5 +1,5 @@
1
1
  import type ts from "typescript";
2
- import type { ConfigWithExtendsArg, LanguageOptions } from "../shared/env-utils.js";
2
+ import type { ConfigArg, LanguageOptions } from "../shared/env-utils.js";
3
3
  import { type EnvRestrictedOptions } from "../shared/restricted.js";
4
4
  export type EnvNodeConvertPathPattern = [pattern: string, replacement: string];
5
5
  /**
@@ -57,4 +57,4 @@ export interface EnvNodeOptions extends EnvRestrictedOptions {
57
57
  * @returns
58
58
  * The configuration entries to be added to the resulting configuration array.
59
59
  */
60
- export default function node(envOptions: EnvNodeOptions): ConfigWithExtendsArg;
60
+ export default function node(envOptions: EnvNodeOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "../shared/env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "../shared/env-utils.js";
2
2
  import type { SharedRuleSettings } from "../shared/rule-utils.js";
3
3
  import { type RuleNoInvalidModulesOptions } from "../rules/no-invalid-modules.js";
4
4
  import { type RuleNoInvalidHierarchyOptions } from "../rules/no-invalid-hierarchy.js";
@@ -28,4 +28,4 @@ export interface EnvProjectOptions extends EnvBaseOptions {
28
28
  * @returns
29
29
  * The configuration entries to be added to the resulting configuration array.
30
30
  */
31
- export default function project(envOptions: EnvProjectOptions): ConfigWithExtendsArg;
31
+ export default function project(envOptions: EnvProjectOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "../shared/env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Configuration options for the environment preset "env.react".
4
4
  */
@@ -25,4 +25,4 @@ export interface EnvReactOptions extends EnvBaseOptions {
25
25
  * @returns
26
26
  * The configuration entries to be added to the resulting configuration array.
27
27
  */
28
- export default function react(envOptions: EnvReactOptions): ConfigWithExtendsArg;
28
+ export default function react(envOptions: EnvReactOptions): ConfigArg;
@@ -1,11 +1,9 @@
1
1
  import reactPlugin from "@eslint-react/eslint-plugin";
2
- import reactHooksPluginModule from "eslint-plugin-react-hooks";
2
+ import reactHooksPlugin from "eslint-plugin-react-hooks";
3
3
  import reactRefreshPlugin from "eslint-plugin-react-refresh";
4
4
  import jsxA11yPlugin from "eslint-plugin-jsx-a11y";
5
5
  import { parser } from "typescript-eslint";
6
6
  import { createConfig, customRules, convertRuleWarningsToErrors } from "../shared/env-utils.js";
7
- // workaround for broken typings
8
- const reactHooksPlugin = reactHooksPluginModule;
9
7
  // functions ==================================================================
10
8
  /**
11
9
  * Creates configuration objects with linter rules for ReactJS.
@@ -29,7 +27,7 @@ export default function react(envOptions) {
29
27
  createConfig("env.react.recommended", envOptions, {
30
28
  // auto-detect installed React version
31
29
  languageOptions: {
32
- parser: parser,
30
+ parser,
33
31
  parserOptions: { projectService: true },
34
32
  },
35
33
  // register rule implementations and language settings, raise all recommended rules to "error" level
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "../shared/env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "../shared/env-utils.js";
2
2
  /**
3
3
  * Configuration options for the environment preset "env.tsconfig".
4
4
  */
@@ -17,4 +17,4 @@ export interface EnvTSConfigOptions extends EnvBaseOptions {
17
17
  * @returns
18
18
  * The configuration entries to be added to the resulting configuration array.
19
19
  */
20
- export default function tsconfig(envOptions: EnvTSConfigOptions): ConfigWithExtendsArg;
20
+ export default function tsconfig(envOptions: EnvTSConfigOptions): ConfigArg;
@@ -1,4 +1,4 @@
1
- import { type ConfigWithExtendsArg } from "../shared/env-utils.js";
1
+ import { type ConfigArg } from "../shared/env-utils.js";
2
2
  import { type EnvUnitTestOptions } from "../shared/unittest.js";
3
3
  /**
4
4
  * Configuration options for the environment preset "env.vitest".
@@ -21,4 +21,4 @@ export interface EnvVitestOptions extends EnvUnitTestOptions {
21
21
  * @returns
22
22
  * The configuration entries to be added to the resulting configuration array.
23
23
  */
24
- export default function vitest(envOptions: EnvVitestOptions): ConfigWithExtendsArg;
24
+ export default function vitest(envOptions: EnvVitestOptions): ConfigArg;
@@ -1,6 +1,6 @@
1
- import type { Linter } from "eslint";
1
+ import type { ConfigObject, RulesConfig } from "@eslint/core";
2
2
  import { PathResolver } from "../utils/resolver.js";
3
- import type { ConfigWithExtendsArg, LanguageOptions, PackagesOptions, StylisticOptions } from "./shared/env-utils.js";
3
+ import type { ConfigArg, LanguageOptions, PackagesOptions, StylisticOptions } from "./shared/env-utils.js";
4
4
  import node from "./env/node.js";
5
5
  import browser from "./env/browser.js";
6
6
  import jest from "./env/jest.js";
@@ -44,7 +44,7 @@ export interface ProjectOptions {
44
44
  /**
45
45
  * Additional linter rules to be added to the global configuration.
46
46
  */
47
- rules?: Linter.RulesRecord;
47
+ rules?: RulesConfig;
48
48
  }
49
49
  /**
50
50
  * A collection with all available environment presets.
@@ -75,4 +75,4 @@ export declare const env: {
75
75
  * The resulting ESLint configuration array that must be returned from the
76
76
  * `eslint.config.*` file.
77
77
  */
78
- export declare function defineConfig(options: ProjectOptions, ...configs: Array<ConfigWithExtendsArg | ((resolver: PathResolver) => ConfigWithExtendsArg)>): Linter.Config[];
78
+ export declare function defineConfig(options: ProjectOptions, ...configs: Array<ConfigArg | ((resolver: PathResolver) => ConfigArg)>): ConfigObject[];
@@ -1,7 +1,9 @@
1
1
  import type { Linter } from "eslint";
2
+ import type { RuleConfig, RulesConfig, ConfigObject } from "@eslint/core";
2
3
  import type { ConfigWithExtends } from "@eslint/config-helpers";
3
4
  import type { DeepRequired, DeepOptArray } from "../../utils/utils.js";
4
- export type ConfigWithExtendsArg = DeepOptArray<ConfigWithExtends>;
5
+ export type Config = ConfigObject | ConfigWithExtends | Linter.Config;
6
+ export type ConfigArg = DeepOptArray<Config>;
5
7
  /**
6
8
  * Configuration options for language and project setup.
7
9
  */
@@ -147,7 +149,7 @@ export interface EnvBaseOptions extends EnvFilesOptions {
147
149
  /**
148
150
  * Additional linter rules to be added to the configuration.
149
151
  */
150
- rules?: Linter.RulesRecord;
152
+ rules?: RulesConfig;
151
153
  }
152
154
  /**
153
155
  * File extensions for JavaScript source files.
@@ -231,7 +233,7 @@ export declare function extGlob(extensions: string[]): string[];
231
233
  * @returns
232
234
  * The resulting configuration entry.
233
235
  */
234
- export declare function createConfig(name: string, envOptions: EnvFilesOptions, config: Linter.Config, rules?: Linter.RulesRecord): Linter.Config;
236
+ export declare function createConfig(name: string, envOptions: EnvFilesOptions, config: Config, rules?: RulesConfig): Config;
235
237
  /**
236
238
  * Creates a configuration entry with "files", "ignores", and "rules" settings
237
239
  * from an environment's "envOptions" object.
@@ -252,7 +254,7 @@ export declare function createConfig(name: string, envOptions: EnvFilesOptions,
252
254
  * The resulting configuration entry, if the environment options contain
253
255
  * custom rule settings, otherwise `undefined`.
254
256
  */
255
- export declare function customRules(name: string, envOptions: EnvBaseOptions, rules?: Linter.RulesRecord): Linter.Config | undefined;
257
+ export declare function customRules(name: string, envOptions: EnvBaseOptions, rules?: RulesConfig): Config | undefined;
256
258
  /**
257
259
  * Finds the first configuration object with a "files" property, and copies
258
260
  * this property into all other configurations objects with language options or
@@ -264,7 +266,7 @@ export declare function customRules(name: string, envOptions: EnvBaseOptions, ru
264
266
  * @returns
265
267
  * The fixed configuration options.
266
268
  */
267
- export declare function fixMissingFilesOption(...configs: ConfigWithExtendsArg[]): ConfigWithExtends[];
269
+ export declare function fixMissingFilesOption(...configs: ConfigArg[]): Config[];
268
270
  /**
269
271
  * Converts severity "warning" of all rules in the passed configuration entry
270
272
  * to severity "error".
@@ -275,7 +277,7 @@ export declare function fixMissingFilesOption(...configs: ConfigWithExtendsArg[]
275
277
  * @returns
276
278
  * The converted configuration entry.
277
279
  */
278
- export declare function convertRuleWarningsToErrors(config: ConfigWithExtends): ConfigWithExtends;
280
+ export declare function convertRuleWarningsToErrors(config: Config): Config;
279
281
  /**
280
282
  * Translates the stylistic option `dangle` to the configuration options for
281
283
  * "comma-dangle" rules.
@@ -286,4 +288,4 @@ export declare function convertRuleWarningsToErrors(config: ConfigWithExtends):
286
288
  * @returns
287
289
  * The configuration options for "comma-dangle" rules.
288
290
  */
289
- export declare function getCommaDangleConfig(stylisticConfig: StylisticConfig): Linter.RuleEntry<["never" | "always" | "always-multiline"]>;
291
+ export declare function getCommaDangleConfig(stylisticConfig: StylisticConfig): RuleConfig<["never" | "always" | "always-multiline"]>;
@@ -1,5 +1,5 @@
1
- import type { Linter } from "eslint";
2
- import type { ConfigWithExtendsArg, EnvFilesOptions, EnvBaseOptions } from "./env-utils.js";
1
+ import type { RulesConfig } from "@eslint/core";
2
+ import type { ConfigArg, EnvFilesOptions, EnvBaseOptions } from "./env-utils.js";
3
3
  /**
4
4
  * Configuration for a single banned global or import.
5
5
  */
@@ -70,7 +70,7 @@ export interface EnvRestrictedOptions extends EnvBaseOptions {
70
70
  * @returns
71
71
  * The rules dictionary with all needed restricted rules.
72
72
  */
73
- export declare function builtinRestrictedRules(): Linter.RulesRecord;
73
+ export declare function builtinRestrictedRules(): RulesConfig;
74
74
  /**
75
75
  * Generates various "no-restricted-?" rules from the passed configuration.
76
76
  *
@@ -87,4 +87,4 @@ export declare function builtinRestrictedRules(): Linter.RulesRecord;
87
87
  * @returns
88
88
  * The configuration entries needed to forbid the restricted items.
89
89
  */
90
- export declare function restrictedRulesConfig(baseName: string, envOptions: EnvRestrictedOptions, fixed?: EnvRestrictedItems): ConfigWithExtendsArg;
90
+ export declare function restrictedRulesConfig(baseName: string, envOptions: EnvRestrictedOptions, fixed?: EnvRestrictedItems): ConfigArg;
@@ -2,16 +2,17 @@ import { flattenDeepArrays } from "../../utils/utils.js";
2
2
  import { createConfig } from "./env-utils.js";
3
3
  // functions ==================================================================
4
4
  /**
5
- * Creates a rules record for all restricted items.
5
+ * Creates a rules configuration record for all restricted items.
6
6
  *
7
7
  * @param generator
8
8
  * The generator callback function that returns the restricted items to be
9
9
  * inserted into the linter rules.
10
10
  *
11
11
  * @returns
12
- * The rules record containing entries for all existing restricted items.
12
+ * The rules configuration record containing entries for all existing
13
+ * restricted items.
13
14
  */
14
- function createRulesRecord(generator) {
15
+ function createRulesConfig(generator) {
15
16
  const rules = {};
16
17
  for (const key of ["globals", "imports", "properties", "syntax"]) {
17
18
  const items = generator(key);
@@ -61,7 +62,7 @@ export function builtinRestrictedRules() {
61
62
  // built-in restricted items
62
63
  const items = mergeRestrictedItems();
63
64
  // generate the rules dictionary
64
- return createRulesRecord(key => items[key]);
65
+ return createRulesConfig(key => items[key]);
65
66
  }
66
67
  /**
67
68
  * Generates various "no-restricted-?" rules from the passed configuration.
@@ -87,11 +88,11 @@ export function restrictedRulesConfig(baseName, envOptions, fixed) {
87
88
  return [
88
89
  // base rules for all files in the environment
89
90
  createConfig(baseName, envOptions, {
90
- rules: createRulesRecord(key => items[key]),
91
+ rules: createRulesConfig(key => items[key]),
91
92
  }),
92
93
  // generate the override entries (join with base items)
93
94
  restricted?.overrides?.map((override, index) => createConfig(`${baseName}.override-${index}`, override, {
94
- rules: createRulesRecord(key => flattenDeepArrays(items[key], override[key])),
95
+ rules: createRulesConfig(key => flattenDeepArrays(items[key], override[key])),
95
96
  })),
96
97
  ];
97
98
  }
@@ -1,4 +1,4 @@
1
- import type { ConfigWithExtendsArg, EnvBaseOptions } from "./env-utils.js";
1
+ import type { ConfigArg, EnvBaseOptions } from "./env-utils.js";
2
2
  /**
3
3
  * Shared options for environment presets for unit tests.
4
4
  */
@@ -38,4 +38,4 @@ export interface EnvUnitTestOptions extends EnvBaseOptions {
38
38
  * @returns
39
39
  * The resulting configuration entries.
40
40
  */
41
- export declare function createUnitTestPluginConfigs(baseName: string, envOptions: EnvUnitTestOptions): ConfigWithExtendsArg;
41
+ export declare function createUnitTestPluginConfigs(baseName: string, envOptions: EnvUnitTestOptions): ConfigArg;
@@ -28,7 +28,7 @@ Generates standard configuration targeting the source files in the entire projec
28
28
  #### `defineConfig` Signature
29
29
 
30
30
  ```ts
31
- function defineConfig(options: ProjectOptions, ...configs: ConfigWithExtendsArg[]): Linter.Config[];
31
+ function defineConfig(options: ProjectOptions, ...configs: ConfigArg[]): Config[];
32
32
  ```
33
33
 
34
34
  After the mandatory `options` parameters, the function can take multiple custom configuration objects or arrays, for example environment configuration presets (see below).
@@ -54,7 +54,7 @@ After the mandatory `options` parameters, the function can take multiple custom
54
54
  | `stylistic.semi` | `"always"\|"never"\|"off"` | `"always"` | Specifies whether to require semicolons following all statements (`"always"`), or to force to omit semicolons if possible according to ASI rules (`"never"`). |
55
55
  | `stylistic.quotes` | `"single"\|"double"\|"off"` | `"double"` | The type of the string delimiter character. |
56
56
  | `stylistic.dangle` | `"always"\|"never"\|"off"` | `"always"` | Specifies how to treat dangling commas in multiline lists. |
57
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the global configuration. |
57
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the global configuration. |
58
58
 
59
59
  #### Built-in Ignore Globs
60
60
 
@@ -7,7 +7,7 @@ Creates configuration objects with global symbols and linter rules for modules r
7
7
  ## Signature
8
8
 
9
9
  ```ts
10
- function browser(options: EnvBrowserOptions): Linter.Config[];
10
+ function browser(options: EnvBrowserOptions): ConfigArg;
11
11
  ```
12
12
 
13
13
  ## Options
@@ -18,7 +18,7 @@ function browser(options: EnvBrowserOptions): Linter.Config[];
18
18
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
19
19
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
20
20
  | `restricted` | `EnvRestrictedOptions` | `{}` | Settings for banned globals, imports, object properties, and syntax constructs (see below). |
21
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
21
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
22
22
 
23
23
  ### Option `restricted`
24
24
 
@@ -8,7 +8,7 @@ Creates configuration objects with global symbols and linter rules for E2E tests
8
8
  ## Signature
9
9
 
10
10
  ```ts
11
- function codecept(options: EnvCodeceptOptions): Linter.Config[];
11
+ function codecept(options: EnvCodeceptOptions): ConfigArg;
12
12
  ```
13
13
 
14
14
  ## Options
@@ -18,7 +18,7 @@ function codecept(options: EnvCodeceptOptions): Linter.Config[];
18
18
  | `basePath` | `string` | `"."` | Path to a sub directory to apply the environment preset to. |
19
19
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
20
20
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
21
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
21
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
22
22
 
23
23
  ## Example
24
24
 
@@ -11,7 +11,7 @@ Adds the following plugins:
11
11
  ## Signature
12
12
 
13
13
  ```ts
14
- function decorators(options: EnvDecoratorsOptions): Linter.Config[];
14
+ function decorators(options: EnvDecoratorsOptions): ConfigArg;
15
15
  ```
16
16
 
17
17
  ## Options
@@ -21,7 +21,7 @@ function decorators(options: EnvDecoratorsOptions): Linter.Config[];
21
21
  | `basePath` | `string` | `"."` | Path to a sub directory to apply the environment preset to. |
22
22
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
23
23
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
24
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
24
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
25
25
 
26
26
  ## Example
27
27
 
@@ -5,7 +5,7 @@ Creates configuration objects with linter rules for implementing custom ESlint p
5
5
  ## Signature
6
6
 
7
7
  ```ts
8
- function plugin(options: EnvEslintOptions): Linter.Config[];
8
+ function plugin(options: EnvEslintOptions): ConfigArg;
9
9
  ```
10
10
 
11
11
  ## Options
@@ -15,7 +15,7 @@ function plugin(options: EnvEslintOptions): Linter.Config[];
15
15
  | `basePath` | `string` | `"."` | Path to a sub directory to apply the environment preset to. |
16
16
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
17
17
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
18
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
18
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
19
19
 
20
20
  ## Example
21
21
 
@@ -10,7 +10,7 @@ Creates configuration objects with global symbols and linter rules for unit test
10
10
  ## Signature
11
11
 
12
12
  ```ts
13
- function jest(options: EnvJestOptions): Linter.Config[];
13
+ function jest(options: EnvJestOptions): ConfigArg;
14
14
  ```
15
15
 
16
16
  ## Options
@@ -20,7 +20,7 @@ function jest(options: EnvJestOptions): Linter.Config[];
20
20
  | `basePath` | `string` | `"."` | Path to a sub directory to apply the environment preset to. |
21
21
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
22
22
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
23
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
23
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
24
24
  | `jestExtended` | `boolean` | `false` | Activate plugin `eslint-plugin-jest-extended`. |
25
25
  | `jestDom` | `boolean` | `false` | Activate plugin `eslint-plugin-jest-dom`. |
26
26
  | `testingLib` | `"angular"\|"dom"\|"marko"\|"react"\|"vue"` | _none_ | Activate plugin `eslint-plugin-testing-library` for the specified environment. |
@@ -5,7 +5,7 @@ Creates configuration objects with global symbols and linter rules for NodeJS mo
5
5
  ## Signature
6
6
 
7
7
  ```ts
8
- function node(options: EnvNodeOptions): Linter.Config[];
8
+ function node(options: EnvNodeOptions): ConfigArg;
9
9
  ```
10
10
 
11
11
  ## Options
@@ -17,7 +17,7 @@ function node(options: EnvNodeOptions): Linter.Config[];
17
17
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
18
18
  | `sourceType` | `"module"\|"commonjs"` | `"module"` | Specifies how to treat `.js`, `.jsx`, `.ts`, and `.tsx`. |
19
19
  | `restricted` | `EnvRestrictedOptions` | `{}` | Settings for banned globals, imports, object properties, and syntax constructs (see below). |
20
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
20
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
21
21
 
22
22
  ### Option `restricted`
23
23
 
@@ -11,7 +11,7 @@ Creates configuration objects for custom project setup and module imports.
11
11
  ## Signature
12
12
 
13
13
  ```ts
14
- function project(options: EnvProjectOptions): Linter.Config[];
14
+ function project(options: EnvProjectOptions): ConfigArg;
15
15
  ```
16
16
 
17
17
  ## Options
@@ -24,7 +24,7 @@ function project(options: EnvProjectOptions): Linter.Config[];
24
24
  | `alias` | `Record<string, string>` | `{}` | Maps all alias prefixes to actual paths in the project (see below). |
25
25
  | `external` | `string \| string[]` | `[]` | Specifies glob patterns for external modules (see below). |
26
26
  | `hierarchy` | `Record<string, RuleNoInvalidHierarchyPackage>` | `{}` | Allows to separate the source files into virtual packages (see below). |
27
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
27
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
28
28
 
29
29
  ### Option `alias`
30
30
 
@@ -10,7 +10,7 @@ Creates configuration objects with linter rules for ReactJS. Adds the following
10
10
  ## Signature
11
11
 
12
12
  ```ts
13
- function react(options: EnvReactOptions): Linter.Config[];
13
+ function react(options: EnvReactOptions): ConfigArg;
14
14
  ```
15
15
 
16
16
  ## Options
@@ -20,7 +20,7 @@ function react(options: EnvReactOptions): Linter.Config[];
20
20
  | `basePath` | `string` | `"."` | Path to a sub directory to apply the environment preset to. |
21
21
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
22
22
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
23
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
23
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
24
24
  | `effectHooks` | `string[]` | `[]` | Additional hooks that will be treated as effect hooks, like "useEffect". |
25
25
 
26
26
  ## Example
@@ -7,7 +7,7 @@ Usually, this environment preset should not be necessary, as the new [project se
7
7
  ## Signature
8
8
 
9
9
  ```ts
10
- function tsconfig(options: EnvTSConfigOptions): Linter.Config[];
10
+ function tsconfig(options: EnvTSConfigOptions): ConfigArg;
11
11
  ```
12
12
 
13
13
  ## Options
@@ -18,7 +18,7 @@ function tsconfig(options: EnvTSConfigOptions): Linter.Config[];
18
18
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
19
19
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
20
20
  | `project` | `string` | _required_ | The absolute path to the TypeScript project configuration file (`tsconfig.json`). |
21
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
21
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
22
22
 
23
23
  ## Example
24
24
 
@@ -10,7 +10,7 @@ Creates configuration objects with global symbols and linter rules for unit test
10
10
  ## Signature
11
11
 
12
12
  ```ts
13
- function vitest(options: EnvVitestOptions): Linter.Config[];
13
+ function vitest(options: EnvVitestOptions): ConfigArg;
14
14
  ```
15
15
 
16
16
  ## Options
@@ -20,7 +20,7 @@ function vitest(options: EnvVitestOptions): Linter.Config[];
20
20
  | `basePath` | `string` | `"."` | Path to a sub directory to apply the environment preset to. |
21
21
  | `files` | `Array<string\|string[]>` | _required_ | Glob patterns for source files to be included. Use embedded arrays for AND patterns. |
22
22
  | `ignores` | `string[]` | `[]` | Glob patterns for source files matching `files` to be ignored. |
23
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the configuration. |
23
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the configuration. |
24
24
  | `jestExtended` | `boolean` | `false` | Activate plugin `eslint-plugin-jest-extended`. |
25
25
  | `jestDom` | `boolean` | `false` | Activate plugin `eslint-plugin-jest-dom`. |
26
26
  | `testingLib` | `"angular"\|"dom"\|"marko"\|"react"\|"vue"` | _none_ | Add plugin `eslint-plugin-testing-library` for the specified environment. |
@@ -32,7 +32,7 @@ function defineConfig(options?: ProjectOptions): Config;
32
32
  | `stylistic` | `StylisticOptions` | | Configuration options for code style. |
33
33
  | `stylistic.indent` | `number` | `4` | Default indentation size (number of space characters). |
34
34
  | `stylistic.quotes` | `"single"\|"double"\|"off"` | `"double"` | The type of the string delimiter character. |
35
- | `rules` | `Linter.RulesRecord` | `{}` | Additional linter rules to be added to the global configuration. |
35
+ | `rules` | `RulesConfig` | `{}` | Additional linter rules to be added to the global configuration. |
36
36
 
37
37
  #### Built-in Ignore Globs
38
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/linter-presets",
3
- "version": "1.15.0",
3
+ "version": "1.15.2",
4
4
  "description": "Configuration presets for ESLint and StyleLint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,44 +30,44 @@
30
30
  "test": "cd test && eslint . && stylelint \"**/*.{css,scss}\""
31
31
  },
32
32
  "dependencies": {
33
- "@babel/core": "^7.28.4",
34
- "@babel/eslint-parser": "^7.28.4",
33
+ "@babel/core": "^7.28.5",
34
+ "@babel/eslint-parser": "^7.28.5",
35
35
  "@babel/plugin-proposal-decorators": "^7.28.0",
36
36
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
37
- "@eslint-react/eslint-plugin": "^2.2.3",
38
- "@eslint/compat": "^1.4.0",
39
- "@eslint/config-helpers": "^0.4.1",
40
- "@eslint/js": "^9.38.0",
37
+ "@eslint-react/eslint-plugin": "^2.3.1",
38
+ "@eslint/compat": "^1.4.1",
39
+ "@eslint/config-helpers": "^0.4.2",
40
+ "@eslint/js": "^9.39.0",
41
41
  "@eslint/markdown": "^7.5.0",
42
42
  "@stylistic/eslint-plugin": "^5.5.0",
43
43
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
44
44
  "@stylistic/stylelint-config": "^3.0.1",
45
45
  "@stylistic/stylelint-plugin": "^4.0.0",
46
46
  "@types/picomatch": "^4.0.2",
47
- "@vitest/eslint-plugin": "^1.3.23",
47
+ "@vitest/eslint-plugin": "^1.4.0",
48
48
  "confusing-browser-globals": "^1.0.11",
49
49
  "empathic": "^2.0.0",
50
50
  "eslint-plugin-chai-expect": "^3.1.0",
51
51
  "eslint-plugin-codeceptjs": "^1.3.0",
52
52
  "eslint-plugin-depend": "^1.3.1",
53
- "eslint-plugin-eslint-plugin": "^7.0.0",
53
+ "eslint-plugin-eslint-plugin": "^7.2.0",
54
54
  "eslint-plugin-jest": "^29.0.1",
55
55
  "eslint-plugin-jest-dom": "^5.5.0",
56
56
  "eslint-plugin-jest-extended": "^3.0.1",
57
- "eslint-plugin-jsdoc": "^61.1.5",
57
+ "eslint-plugin-jsdoc": "^61.1.11",
58
58
  "eslint-plugin-jsonc": "^2.21.0",
59
59
  "eslint-plugin-jsx-a11y": "^6.10.2",
60
60
  "eslint-plugin-license-header": "^0.8.0",
61
61
  "eslint-plugin-n": "^17.23.1",
62
62
  "eslint-plugin-no-unsanitized": "^4.1.4",
63
63
  "eslint-plugin-promise": "^7.2.1",
64
- "eslint-plugin-react-hooks": "^7.0.0",
64
+ "eslint-plugin-react-hooks": "^7.0.1",
65
65
  "eslint-plugin-react-refresh": "^0.4.24",
66
66
  "eslint-plugin-regexp": "^2.10.0",
67
67
  "eslint-plugin-testing-library": "^7.13.3",
68
68
  "eslint-plugin-vue": "^10.5.1",
69
69
  "eslint-plugin-yml": "^1.19.0",
70
- "globals": "^16.4.0",
70
+ "globals": "^16.5.0",
71
71
  "picomatch": "^4.0.3",
72
72
  "postcss-html": "^1.8.0",
73
73
  "stylelint-config-standard": "^39.0.1",
@@ -81,10 +81,10 @@
81
81
  "devDependencies": {
82
82
  "@types/confusing-browser-globals": "^1.0.3",
83
83
  "@types/eslint-scope": "^8.3.2",
84
- "@types/node": "^24.9.1",
84
+ "@types/node": "^24.10.0",
85
85
  "@types/react": "^19.2.2",
86
86
  "@typescript-eslint/utils": "^8.46.2",
87
- "eslint": "^9.38.0",
87
+ "eslint": "^9.39.0",
88
88
  "jest": "^30.2.0",
89
89
  "jiti": "^2.6.1",
90
90
  "premove": "^4.0.0",