@2digits/eslint-config 2.13.0 → 2.13.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.
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +17 -17
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.
|
|
13
|
+
* @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.23/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -251,7 +251,7 @@ interface RuleOptions {
|
|
|
251
251
|
*/
|
|
252
252
|
'default-case'?: Linter.RuleEntry<DefaultCase>
|
|
253
253
|
/**
|
|
254
|
-
* Enforce `default` clauses in switch statements to be last
|
|
254
|
+
* Enforce `default` clauses in `switch` statements to be last
|
|
255
255
|
* @see https://eslint.org/docs/latest/rules/default-case-last
|
|
256
256
|
*/
|
|
257
257
|
'default-case-last'?: Linter.RuleEntry<[]>
|
|
@@ -4260,7 +4260,7 @@ Backward pagination arguments
|
|
|
4260
4260
|
*/
|
|
4261
4261
|
'sonar/prefer-while'?: Linter.RuleEntry<[]>
|
|
4262
4262
|
/**
|
|
4263
|
-
* Enforce sorted import declarations within modules
|
|
4263
|
+
* Enforce sorted `import` declarations within modules
|
|
4264
4264
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
4265
4265
|
*/
|
|
4266
4266
|
'sort-imports'?: Linter.RuleEntry<SortImports>
|
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.
|
|
13
|
+
* @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.23/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -251,7 +251,7 @@ interface RuleOptions {
|
|
|
251
251
|
*/
|
|
252
252
|
'default-case'?: Linter.RuleEntry<DefaultCase>
|
|
253
253
|
/**
|
|
254
|
-
* Enforce `default` clauses in switch statements to be last
|
|
254
|
+
* Enforce `default` clauses in `switch` statements to be last
|
|
255
255
|
* @see https://eslint.org/docs/latest/rules/default-case-last
|
|
256
256
|
*/
|
|
257
257
|
'default-case-last'?: Linter.RuleEntry<[]>
|
|
@@ -4260,7 +4260,7 @@ Backward pagination arguments
|
|
|
4260
4260
|
*/
|
|
4261
4261
|
'sonar/prefer-while'?: Linter.RuleEntry<[]>
|
|
4262
4262
|
/**
|
|
4263
|
-
* Enforce sorted import declarations within modules
|
|
4263
|
+
* Enforce sorted `import` declarations within modules
|
|
4264
4264
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
4265
4265
|
*/
|
|
4266
4266
|
'sort-imports'?: Linter.RuleEntry<SortImports>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.2",
|
|
4
4
|
"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.",
|
|
5
5
|
"homepage": "https://2d-configs.vercel.app/",
|
|
6
6
|
"type": "module",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"public": true,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
33
|
-
"@eslint-react/eslint-plugin": "1.23.
|
|
34
|
-
"@eslint/compat": "1.2.
|
|
35
|
-
"@eslint/js": "9.
|
|
33
|
+
"@eslint-react/eslint-plugin": "1.23.2",
|
|
34
|
+
"@eslint/compat": "1.2.5",
|
|
35
|
+
"@eslint/js": "9.18.0",
|
|
36
36
|
"@graphql-eslint/eslint-plugin": "4.3.0",
|
|
37
|
-
"@next/eslint-plugin-next": "15.1.
|
|
37
|
+
"@next/eslint-plugin-next": "15.1.4",
|
|
38
38
|
"@tanstack/eslint-plugin-query": "5.62.16",
|
|
39
39
|
"@typescript-eslint/parser": "8.19.1",
|
|
40
|
-
"eslint-config-flat-gitignore": "0.
|
|
40
|
+
"eslint-config-flat-gitignore": "1.0.0",
|
|
41
41
|
"eslint-config-prettier": "9.1.0",
|
|
42
|
-
"eslint-flat-config-utils": "0.
|
|
42
|
+
"eslint-flat-config-utils": "1.0.0",
|
|
43
43
|
"eslint-plugin-antfu": "2.7.0",
|
|
44
44
|
"eslint-plugin-drizzle": "0.2.3",
|
|
45
45
|
"eslint-plugin-jsdoc": "50.6.1",
|
|
46
|
-
"eslint-plugin-jsonc": "
|
|
46
|
+
"eslint-plugin-jsonc": "2.18.2",
|
|
47
47
|
"eslint-plugin-n": "17.15.1",
|
|
48
48
|
"eslint-plugin-react": "7.37.3",
|
|
49
49
|
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
|
|
@@ -57,22 +57,22 @@
|
|
|
57
57
|
"find-up": "7.0.0",
|
|
58
58
|
"globals": "15.14.0",
|
|
59
59
|
"graphql-config": "5.1.3",
|
|
60
|
-
"jsonc-eslint-parser": "
|
|
61
|
-
"local-pkg": "0.
|
|
60
|
+
"jsonc-eslint-parser": "2.4.0",
|
|
61
|
+
"local-pkg": "1.0.0",
|
|
62
62
|
"typescript-eslint": "8.19.1",
|
|
63
|
-
"@2digits/constants": "0.3.
|
|
64
|
-
"@2digits/eslint-plugin": "2.3.
|
|
63
|
+
"@2digits/constants": "0.3.5",
|
|
64
|
+
"@2digits/eslint-plugin": "2.3.23"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@eslint/config-inspector": "0.7.
|
|
67
|
+
"@eslint/config-inspector": "0.7.1",
|
|
68
68
|
"@types/eslint__js": "8.42.3",
|
|
69
69
|
"@types/node": "22.10.5",
|
|
70
70
|
"@typescript-eslint/utils": "8.19.1",
|
|
71
|
-
"eslint": "9.
|
|
72
|
-
"eslint-typegen": "0.
|
|
71
|
+
"eslint": "9.18.0",
|
|
72
|
+
"eslint-typegen": "1.0.0",
|
|
73
73
|
"tsup": "8.3.5",
|
|
74
|
-
"typescript": "5.7.
|
|
75
|
-
"@2digits/tsconfig": "0.6.
|
|
74
|
+
"typescript": "5.7.3",
|
|
75
|
+
"@2digits/tsconfig": "0.6.3"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"build": "tsup",
|