@biscuittin/eslint-config 0.4.5 → 0.4.6
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 +11 -1
- package/package.json +12 -12
- package/typegen.d.ts +11 -1
package/dist/index.d.mts
CHANGED
|
@@ -313,6 +313,7 @@ interface RuleOptions {
|
|
|
313
313
|
/**
|
|
314
314
|
* Disallow certain props on components.
|
|
315
315
|
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
316
|
+
* @deprecated
|
|
316
317
|
*/
|
|
317
318
|
'@eslint-react/no-forbidden-props'?: Linter.RuleEntry<EslintReactNoForbiddenProps>;
|
|
318
319
|
/**
|
|
@@ -434,7 +435,7 @@ interface RuleOptions {
|
|
|
434
435
|
* Prevents using referential-type values as default props in object destructuring.
|
|
435
436
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
436
437
|
*/
|
|
437
|
-
'@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<
|
|
438
|
+
'@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<EslintReactNoUnstableDefaultProps>;
|
|
438
439
|
/**
|
|
439
440
|
* Warns unused class component methods and properties.
|
|
440
441
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
@@ -1534,6 +1535,11 @@ interface RuleOptions {
|
|
|
1534
1535
|
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
1535
1536
|
*/
|
|
1536
1537
|
'@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
|
|
1538
|
+
/**
|
|
1539
|
+
* Disallow unused private class members
|
|
1540
|
+
* @see https://typescript-eslint.io/rules/no-unused-private-class-members
|
|
1541
|
+
*/
|
|
1542
|
+
'@typescript-eslint/no-unused-private-class-members'?: Linter.RuleEntry<[]>;
|
|
1537
1543
|
/**
|
|
1538
1544
|
* Disallow unused variables
|
|
1539
1545
|
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
@@ -6282,6 +6288,10 @@ type EslintReactNoForbiddenProps = [] | [{
|
|
|
6282
6288
|
prop: string;
|
|
6283
6289
|
})[];
|
|
6284
6290
|
}];
|
|
6291
|
+
// ----- @eslint-react/no-unstable-default-props -----
|
|
6292
|
+
type EslintReactNoUnstableDefaultProps = [] | [{
|
|
6293
|
+
safeDefaultProps?: string[];
|
|
6294
|
+
}];
|
|
6285
6295
|
// ----- @eslint-react/no-useless-fragment -----
|
|
6286
6296
|
type EslintReactNoUselessFragment = [] | [{
|
|
6287
6297
|
allowExpressions?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biscuittin/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.6",
|
|
5
5
|
"description": "A collection of ESLint configurations for Biscuit Tin projects.",
|
|
6
6
|
"author": "Biscuit Tin <opensource@biscuitt.in>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,31 +56,31 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
59
|
-
"@eslint-sukka/eslint-plugin-react-jsx-a11y": "^8.0.
|
|
59
|
+
"@eslint-sukka/eslint-plugin-react-jsx-a11y": "^8.0.5",
|
|
60
60
|
"@eslint/js": "^9.39.1",
|
|
61
61
|
"@eslint/json": "^0.14.0",
|
|
62
62
|
"@next/eslint-plugin-next": "^15.5.6",
|
|
63
63
|
"@package-json/types": "^0.0.12",
|
|
64
|
-
"@stylistic/eslint-plugin": "^5.
|
|
64
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
65
65
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
66
66
|
"eslint-flat-config-utils": "^2.1.4",
|
|
67
67
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
68
68
|
"eslint-plugin-antfu": "^3.1.1",
|
|
69
69
|
"eslint-plugin-autofix": "^2.2.0",
|
|
70
|
-
"eslint-plugin-better-tailwindcss": "^3.7.
|
|
70
|
+
"eslint-plugin-better-tailwindcss": "^3.7.11",
|
|
71
71
|
"eslint-plugin-format": "1.0.1",
|
|
72
72
|
"eslint-plugin-import-x": "^4.16.1",
|
|
73
73
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
74
74
|
"eslint-plugin-n": "^17.23.1",
|
|
75
75
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
76
76
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
77
|
-
"eslint-plugin-react-dom": "^2.3.
|
|
77
|
+
"eslint-plugin-react-dom": "^2.3.7",
|
|
78
78
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
79
|
-
"eslint-plugin-react-hooks-extra": "^2.3.
|
|
80
|
-
"eslint-plugin-react-naming-convention": "^2.3.
|
|
79
|
+
"eslint-plugin-react-hooks-extra": "^2.3.7",
|
|
80
|
+
"eslint-plugin-react-naming-convention": "^2.3.7",
|
|
81
81
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
82
|
-
"eslint-plugin-react-web-api": "^2.3.
|
|
83
|
-
"eslint-plugin-react-x": "^2.3.
|
|
82
|
+
"eslint-plugin-react-web-api": "^2.3.7",
|
|
83
|
+
"eslint-plugin-react-x": "^2.3.7",
|
|
84
84
|
"eslint-plugin-regexp": "^2.10.0",
|
|
85
85
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
86
86
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
"jsonc-eslint-parser": "^2.4.1",
|
|
90
90
|
"local-pkg": "^1.1.2",
|
|
91
91
|
"ts-api-utils": "^2.1.0",
|
|
92
|
-
"typescript-eslint": "^8.
|
|
92
|
+
"typescript-eslint": "^8.47.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@eslint/config-inspector": "^1.
|
|
96
|
-
"@typescript-eslint/parser": "^8.
|
|
95
|
+
"@eslint/config-inspector": "^1.4.2",
|
|
96
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
97
97
|
"dprint": "^0.50.2",
|
|
98
98
|
"eslint": "^9.39.1",
|
|
99
99
|
"tailwindcss": "^4.1.17",
|
package/typegen.d.ts
CHANGED
|
@@ -311,6 +311,7 @@ export interface RuleOptions {
|
|
|
311
311
|
/**
|
|
312
312
|
* Disallow certain props on components.
|
|
313
313
|
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
314
|
+
* @deprecated
|
|
314
315
|
*/
|
|
315
316
|
'@eslint-react/no-forbidden-props'?: Linter.RuleEntry<EslintReactNoForbiddenProps>
|
|
316
317
|
/**
|
|
@@ -432,7 +433,7 @@ export interface RuleOptions {
|
|
|
432
433
|
* Prevents using referential-type values as default props in object destructuring.
|
|
433
434
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
434
435
|
*/
|
|
435
|
-
'@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<
|
|
436
|
+
'@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<EslintReactNoUnstableDefaultProps>
|
|
436
437
|
/**
|
|
437
438
|
* Warns unused class component methods and properties.
|
|
438
439
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
@@ -1532,6 +1533,11 @@ export interface RuleOptions {
|
|
|
1532
1533
|
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
1533
1534
|
*/
|
|
1534
1535
|
'@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>
|
|
1536
|
+
/**
|
|
1537
|
+
* Disallow unused private class members
|
|
1538
|
+
* @see https://typescript-eslint.io/rules/no-unused-private-class-members
|
|
1539
|
+
*/
|
|
1540
|
+
'@typescript-eslint/no-unused-private-class-members'?: Linter.RuleEntry<[]>
|
|
1535
1541
|
/**
|
|
1536
1542
|
* Disallow unused variables
|
|
1537
1543
|
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
@@ -6281,6 +6287,10 @@ type EslintReactNoForbiddenProps = []|[{
|
|
|
6281
6287
|
prop: string
|
|
6282
6288
|
})[]
|
|
6283
6289
|
}]
|
|
6290
|
+
// ----- @eslint-react/no-unstable-default-props -----
|
|
6291
|
+
type EslintReactNoUnstableDefaultProps = []|[{
|
|
6292
|
+
safeDefaultProps?: string[]
|
|
6293
|
+
}]
|
|
6284
6294
|
// ----- @eslint-react/no-useless-fragment -----
|
|
6285
6295
|
type EslintReactNoUselessFragment = []|[{
|
|
6286
6296
|
|