@2digits/eslint-config 2.9.10 → 2.9.11
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 -1
- package/dist/index.d.ts +3 -1
- package/package.json +7 -7
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.12/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -9228,6 +9228,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
9228
9228
|
ignoreArrowShorthand?: boolean
|
|
9229
9229
|
|
|
9230
9230
|
ignoreVoidOperator?: boolean
|
|
9231
|
+
|
|
9232
|
+
ignoreVoidReturningFunctions?: boolean
|
|
9231
9233
|
}]
|
|
9232
9234
|
// ----- ts/no-duplicate-type-constituents -----
|
|
9233
9235
|
type TsNoDuplicateTypeConstituents = []|[{
|
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.12/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -9228,6 +9228,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
9228
9228
|
ignoreArrowShorthand?: boolean
|
|
9229
9229
|
|
|
9230
9230
|
ignoreVoidOperator?: boolean
|
|
9231
|
+
|
|
9232
|
+
ignoreVoidReturningFunctions?: boolean
|
|
9231
9233
|
}]
|
|
9232
9234
|
// ----- ts/no-duplicate-type-constituents -----
|
|
9233
9235
|
type TsNoDuplicateTypeConstituents = []|[{
|
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.
|
|
4
|
+
"version": "2.9.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"public": true,
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@graphql-eslint/eslint-plugin": "3.20.1",
|
|
36
36
|
"@next/eslint-plugin-next": "15.0.3",
|
|
37
37
|
"@tanstack/eslint-plugin-query": "5.60.1",
|
|
38
|
-
"@typescript-eslint/parser": "8.
|
|
38
|
+
"@typescript-eslint/parser": "8.14.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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"eslint-plugin-jsdoc": "50.4.3",
|
|
44
44
|
"eslint-plugin-n": "17.13.1",
|
|
45
45
|
"eslint-plugin-react": "7.37.2",
|
|
46
|
-
"eslint-plugin-react-compiler": "19.0.0-beta-
|
|
46
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-a7bf2bd-20241110",
|
|
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",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"find-up": "7.0.0",
|
|
55
55
|
"globals": "15.12.0",
|
|
56
56
|
"local-pkg": "0.5.0",
|
|
57
|
-
"typescript-eslint": "8.
|
|
58
|
-
"@2digits/
|
|
59
|
-
"@2digits/
|
|
57
|
+
"typescript-eslint": "8.14.0",
|
|
58
|
+
"@2digits/eslint-plugin": "2.3.12",
|
|
59
|
+
"@2digits/constants": "0.3.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/eslint__js": "8.42.3",
|
|
63
63
|
"@types/node": "22.9.0",
|
|
64
|
-
"@typescript-eslint/utils": "8.
|
|
64
|
+
"@typescript-eslint/utils": "8.14.0",
|
|
65
65
|
"eslint": "9.14.0",
|
|
66
66
|
"eslint-typegen": "0.3.2",
|
|
67
67
|
"tsup": "8.3.5",
|