@2digits/eslint-config 2.14.7 → 2.14.8
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 +9 -9
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.30/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -11541,6 +11541,8 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
|
11541
11541
|
allowComparingNullableBooleansToFalse?: boolean
|
|
11542
11542
|
|
|
11543
11543
|
allowComparingNullableBooleansToTrue?: boolean
|
|
11544
|
+
|
|
11545
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
11544
11546
|
}]
|
|
11545
11547
|
// ----- ts/no-unnecessary-condition -----
|
|
11546
11548
|
type TsNoUnnecessaryCondition = []|[{
|
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.30/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -11541,6 +11541,8 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
|
11541
11541
|
allowComparingNullableBooleansToFalse?: boolean
|
|
11542
11542
|
|
|
11543
11543
|
allowComparingNullableBooleansToTrue?: boolean
|
|
11544
|
+
|
|
11545
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
11544
11546
|
}]
|
|
11545
11547
|
// ----- ts/no-unnecessary-condition -----
|
|
11546
11548
|
type TsNoUnnecessaryCondition = []|[{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.8",
|
|
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,16 +30,16 @@
|
|
|
30
30
|
"public": true,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
33
|
-
"@eslint-react/eslint-plugin": "1.26.
|
|
33
|
+
"@eslint-react/eslint-plugin": "1.26.1",
|
|
34
34
|
"@eslint/compat": "1.2.6",
|
|
35
35
|
"@eslint/js": "9.19.0",
|
|
36
36
|
"@graphql-eslint/eslint-plugin": "4.3.0",
|
|
37
37
|
"@next/eslint-plugin-next": "15.1.6",
|
|
38
38
|
"@tanstack/eslint-plugin-query": "5.66.0",
|
|
39
|
-
"@typescript-eslint/parser": "8.
|
|
39
|
+
"@typescript-eslint/parser": "8.23.0",
|
|
40
40
|
"eslint-config-flat-gitignore": "2.0.0",
|
|
41
41
|
"eslint-config-prettier": "10.0.1",
|
|
42
|
-
"eslint-flat-config-utils": "2.0.
|
|
42
|
+
"eslint-flat-config-utils": "2.0.1",
|
|
43
43
|
"eslint-plugin-antfu": "3.0.0",
|
|
44
44
|
"eslint-plugin-drizzle": "0.2.3",
|
|
45
45
|
"eslint-plugin-jsdoc": "50.6.3",
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
"graphql-config": "5.1.3",
|
|
60
60
|
"jsonc-eslint-parser": "2.4.0",
|
|
61
61
|
"local-pkg": "1.0.0",
|
|
62
|
-
"typescript-eslint": "8.
|
|
63
|
-
"@2digits/
|
|
64
|
-
"@2digits/
|
|
62
|
+
"typescript-eslint": "8.23.0",
|
|
63
|
+
"@2digits/constants": "0.3.5",
|
|
64
|
+
"@2digits/eslint-plugin": "2.3.30"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@eslint/config-inspector": "1.0.0",
|
|
68
68
|
"@types/eslint__js": "8.42.3",
|
|
69
|
-
"@types/node": "22.13.
|
|
70
|
-
"@typescript-eslint/utils": "8.
|
|
69
|
+
"@types/node": "22.13.1",
|
|
70
|
+
"@typescript-eslint/utils": "8.23.0",
|
|
71
71
|
"eslint": "9.19.0",
|
|
72
72
|
"eslint-typegen": "1.0.0",
|
|
73
73
|
"tsup": "8.3.6",
|