@2digits/eslint-config 4.10.0 → 4.10.1
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.mts +6 -1
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -6592,7 +6592,7 @@ interface RuleOptions {
|
|
|
6592
6592
|
* Disallow member access on a value with type `any`
|
|
6593
6593
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
6594
6594
|
*/
|
|
6595
|
-
'ts/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
6595
|
+
'ts/no-unsafe-member-access'?: Linter.RuleEntry<TsNoUnsafeMemberAccess>;
|
|
6596
6596
|
/**
|
|
6597
6597
|
* Disallow returning a value with type `any` from a function
|
|
6598
6598
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -12964,6 +12964,10 @@ type TsNoUnnecessaryTypeAssertion = [] | [{
|
|
|
12964
12964
|
checkLiteralConstAssertions?: boolean;
|
|
12965
12965
|
typesToIgnore?: string[];
|
|
12966
12966
|
}];
|
|
12967
|
+
// ----- ts/no-unsafe-member-access -----
|
|
12968
|
+
type TsNoUnsafeMemberAccess = [] | [{
|
|
12969
|
+
allowOptionalChaining?: boolean;
|
|
12970
|
+
}];
|
|
12967
12971
|
// ----- ts/no-unused-expressions -----
|
|
12968
12972
|
type TsNoUnusedExpressions = [] | [{
|
|
12969
12973
|
allowShortCircuit?: boolean;
|
|
@@ -12981,6 +12985,7 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
12981
12985
|
destructuredArrayIgnorePattern?: string;
|
|
12982
12986
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
12983
12987
|
ignoreRestSiblings?: boolean;
|
|
12988
|
+
ignoreUsingDeclarations?: boolean;
|
|
12984
12989
|
reportUsedIgnorePattern?: boolean;
|
|
12985
12990
|
vars?: ("all" | "local");
|
|
12986
12991
|
varsIgnorePattern?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.1",
|
|
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
|
"repository": {
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
30
30
|
"@eslint-react/eslint-plugin": "2.0.6",
|
|
31
31
|
"@eslint/compat": "1.4.0",
|
|
32
|
-
"@eslint/css": "0.
|
|
32
|
+
"@eslint/css": "0.12.0",
|
|
33
33
|
"@eslint/js": "9.37.0",
|
|
34
|
-
"@eslint/markdown": "7.
|
|
34
|
+
"@eslint/markdown": "7.4.0",
|
|
35
35
|
"@graphql-eslint/eslint-plugin": "4.4.0",
|
|
36
36
|
"@next/eslint-plugin-next": "15.5.4",
|
|
37
37
|
"@stylistic/eslint-plugin": "5.4.0",
|
|
38
38
|
"@tanstack/eslint-plugin-query": "5.91.0",
|
|
39
39
|
"@tanstack/eslint-plugin-router": "1.132.31",
|
|
40
|
-
"@typescript-eslint/parser": "8.
|
|
41
|
-
"@typescript-eslint/utils": "8.
|
|
40
|
+
"@typescript-eslint/parser": "8.46.0",
|
|
41
|
+
"@typescript-eslint/utils": "8.46.0",
|
|
42
42
|
"empathic": "2.0.0",
|
|
43
43
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
44
44
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-depend": "1.3.1",
|
|
50
50
|
"eslint-plugin-drizzle": "0.2.3",
|
|
51
51
|
"eslint-plugin-github-action": "0.0.16",
|
|
52
|
-
"eslint-plugin-jsdoc": "60.8.
|
|
52
|
+
"eslint-plugin-jsdoc": "60.8.3",
|
|
53
53
|
"eslint-plugin-jsonc": "2.21.0",
|
|
54
54
|
"eslint-plugin-n": "17.23.1",
|
|
55
55
|
"eslint-plugin-pnpm": "1.2.0",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"local-pkg": "1.1.2",
|
|
69
69
|
"pkg-types": "2.3.0",
|
|
70
70
|
"tailwind-csstree": "0.1.4",
|
|
71
|
-
"typescript-eslint": "8.
|
|
71
|
+
"typescript-eslint": "8.46.0",
|
|
72
72
|
"yaml-eslint-parser": "1.3.0",
|
|
73
73
|
"@2digits/constants": "1.1.10",
|
|
74
|
-
"@2digits/eslint-plugin": "3.1.
|
|
74
|
+
"@2digits/eslint-plugin": "3.1.26"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@eslint/config-inspector": "1.3.0",
|