@2digits/eslint-config 2.9.2 → 2.9.3

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/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
10
10
  interface RuleOptions {
11
11
  /**
12
12
  * Enforce giving proper names to type parameters when there are two or more
13
- * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.7/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.8/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -4060,11 +4060,6 @@ Backward pagination arguments
4060
4060
  * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md
4061
4061
  */
4062
4062
  'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>
4063
- /**
4064
- * Meta should only have inline properties
4065
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
4066
- */
4067
- 'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
4068
4063
  /**
4069
4064
  * A story should not have a redundant name property
4070
4065
  * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
@@ -4329,7 +4324,7 @@ Backward pagination arguments
4329
4324
  */
4330
4325
  'ts/no-array-delete'?: Linter.RuleEntry<[]>
4331
4326
  /**
4332
- * Require `.toString()` to only be called on objects which provide useful information when stringified
4327
+ * Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
4333
4328
  * @see https://typescript-eslint.io/rules/no-base-to-string
4334
4329
  */
4335
4330
  'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
@@ -8598,10 +8593,6 @@ type SpacedComment = []|[("always" | "never")]|[("always" | "never"), {
8598
8593
  balanced?: boolean
8599
8594
  }
8600
8595
  }]
8601
- // ----- storybook/meta-inline-properties -----
8602
- type StorybookMetaInlineProperties = []|[{
8603
- csfVersion?: number
8604
- }]
8605
8596
  // ----- storybook/no-uninstalled-addons -----
8606
8597
  type StorybookNoUninstalledAddons = []|[{
8607
8598
  packageJsonLocation?: string
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
10
10
  interface RuleOptions {
11
11
  /**
12
12
  * Enforce giving proper names to type parameters when there are two or more
13
- * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.7/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.8/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -4060,11 +4060,6 @@ Backward pagination arguments
4060
4060
  * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md
4061
4061
  */
4062
4062
  'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>
4063
- /**
4064
- * Meta should only have inline properties
4065
- * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
4066
- */
4067
- 'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
4068
4063
  /**
4069
4064
  * A story should not have a redundant name property
4070
4065
  * @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
@@ -4329,7 +4324,7 @@ Backward pagination arguments
4329
4324
  */
4330
4325
  'ts/no-array-delete'?: Linter.RuleEntry<[]>
4331
4326
  /**
4332
- * Require `.toString()` to only be called on objects which provide useful information when stringified
4327
+ * Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
4333
4328
  * @see https://typescript-eslint.io/rules/no-base-to-string
4334
4329
  */
4335
4330
  'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
@@ -8598,10 +8593,6 @@ type SpacedComment = []|[("always" | "never")]|[("always" | "never"), {
8598
8593
  balanced?: boolean
8599
8594
  }
8600
8595
  }]
8601
- // ----- storybook/meta-inline-properties -----
8602
- type StorybookMetaInlineProperties = []|[{
8603
- csfVersion?: number
8604
- }]
8605
8596
  // ----- storybook/no-uninstalled-addons -----
8606
8597
  type StorybookNoUninstalledAddons = []|[{
8607
8598
  packageJsonLocation?: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
3
  "description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
4
- "version": "2.9.2",
4
+ "version": "2.9.3",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "public": true,
@@ -33,35 +33,35 @@
33
33
  "@eslint/compat": "1.2.1",
34
34
  "@eslint/js": "9.13.0",
35
35
  "@graphql-eslint/eslint-plugin": "3.20.1",
36
- "@next/eslint-plugin-next": "14.2.15",
36
+ "@next/eslint-plugin-next": "15.0.0",
37
37
  "@tanstack/eslint-plugin-query": "5.59.7",
38
- "@typescript-eslint/parser": "8.10.0",
38
+ "@typescript-eslint/parser": "8.11.0",
39
39
  "eslint-config-flat-gitignore": "0.3.0",
40
40
  "eslint-config-prettier": "9.1.0",
41
41
  "eslint-flat-config-utils": "0.4.0",
42
42
  "eslint-plugin-antfu": "2.7.0",
43
43
  "eslint-plugin-jsdoc": "50.4.3",
44
44
  "eslint-plugin-n": "17.11.1",
45
- "eslint-plugin-react": "7.37.1",
45
+ "eslint-plugin-react": "7.37.2",
46
46
  "eslint-plugin-react-compiler": "19.0.0-beta-9ee70a1-20241017",
47
47
  "eslint-plugin-react-hooks": "5.0.0",
48
48
  "eslint-plugin-regexp": "2.6.0",
49
49
  "eslint-plugin-sonarjs": "1.0.4",
50
- "eslint-plugin-storybook": "0.9.0",
50
+ "eslint-plugin-storybook": "0.10.1",
51
51
  "eslint-plugin-tailwindcss": "3.17.5",
52
- "eslint-plugin-turbo": "2.2.1",
52
+ "eslint-plugin-turbo": "2.2.3",
53
53
  "eslint-plugin-unicorn": "56.0.0",
54
54
  "find-up": "7.0.0",
55
55
  "globals": "15.11.0",
56
56
  "local-pkg": "0.5.0",
57
- "typescript-eslint": "8.10.0",
57
+ "typescript-eslint": "8.11.0",
58
58
  "@2digits/constants": "0.3.2",
59
- "@2digits/eslint-plugin": "2.3.7"
59
+ "@2digits/eslint-plugin": "2.3.8"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/eslint__js": "8.42.3",
63
- "@types/node": "20.16.13",
64
- "@typescript-eslint/utils": "8.10.0",
63
+ "@types/node": "20.16.14",
64
+ "@typescript-eslint/utils": "8.11.0",
65
65
  "eslint": "9.13.0",
66
66
  "eslint-typegen": "0.3.2",
67
67
  "tsup": "8.3.0",