@jimmy.codes/eslint-config 6.2.0 → 6.2.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.ts +16 -0
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -346,6 +346,11 @@ interface RuleOptions {
|
|
|
346
346
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
347
347
|
*/
|
|
348
348
|
'@eslint-react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
349
|
+
/**
|
|
350
|
+
* Disallow certain props on components.
|
|
351
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
352
|
+
*/
|
|
353
|
+
'@eslint-react/no-forbidden-props'?: Linter.RuleEntry<EslintReactNoForbiddenProps>;
|
|
349
354
|
/**
|
|
350
355
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
351
356
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
@@ -7017,6 +7022,17 @@ type EslintReactNamingConventionFilenameExtension = [] | [(("always" | "as-neede
|
|
|
7017
7022
|
extensions?: string[];
|
|
7018
7023
|
ignoreFilesWithoutCode?: boolean;
|
|
7019
7024
|
})];
|
|
7025
|
+
// ----- @eslint-react/no-forbidden-props -----
|
|
7026
|
+
type EslintReactNoForbiddenProps = [] | [{
|
|
7027
|
+
forbid?: (string | {
|
|
7028
|
+
excludedNodes?: string[];
|
|
7029
|
+
prop: string;
|
|
7030
|
+
} | {
|
|
7031
|
+
includedNodes?: string[];
|
|
7032
|
+
prop: string;
|
|
7033
|
+
})[];
|
|
7034
|
+
[k: string]: unknown | undefined;
|
|
7035
|
+
}];
|
|
7020
7036
|
// ----- @eslint-react/no-useless-fragment -----
|
|
7021
7037
|
type EslintReactNoUselessFragment = [] | [{
|
|
7022
7038
|
allowExpressions?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jimmy.codes/eslint-config",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"description": "A simple, modern ESLint config that covers most use cases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
36
|
-
"@eslint-react/eslint-plugin": "2.0.0-
|
|
36
|
+
"@eslint-react/eslint-plugin": "2.0.0-next.127",
|
|
37
37
|
"@eslint/js": "^9.33.0",
|
|
38
38
|
"@next/eslint-plugin-next": "^15.4.6",
|
|
39
39
|
"@stylistic/eslint-plugin": "^5.2.3",
|
|
40
40
|
"@tanstack/eslint-plugin-query": "^5.83.1",
|
|
41
41
|
"@types/eslint": "9.6.1",
|
|
42
|
-
"@typescript-eslint/parser": "^8.39.
|
|
43
|
-
"@typescript-eslint/utils": "^8.39.
|
|
42
|
+
"@typescript-eslint/parser": "^8.39.1",
|
|
43
|
+
"@typescript-eslint/utils": "^8.39.1",
|
|
44
44
|
"@vitest/eslint-plugin": "^1.3.4",
|
|
45
45
|
"astro-eslint-parser": "^1.2.2",
|
|
46
46
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-import-x": "^4.16.1",
|
|
50
50
|
"eslint-plugin-jest": "^29.0.1",
|
|
51
51
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
52
|
-
"eslint-plugin-jsdoc": "^
|
|
52
|
+
"eslint-plugin-jsdoc": "^54.0.0",
|
|
53
53
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
54
54
|
"eslint-plugin-n": "^17.21.3",
|
|
55
55
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"eslint-plugin-react-refresh": "0.4.20",
|
|
60
60
|
"eslint-plugin-regexp": "^2.10.0",
|
|
61
61
|
"eslint-plugin-storybook": "0.12.0",
|
|
62
|
-
"eslint-plugin-testing-library": "^7.6.
|
|
62
|
+
"eslint-plugin-testing-library": "^7.6.6",
|
|
63
63
|
"eslint-plugin-unicorn": "^60.0.0",
|
|
64
64
|
"globals": "^16.3.0",
|
|
65
65
|
"local-pkg": "^1.1.1",
|
|
66
|
-
"typescript-eslint": "^8.39.
|
|
66
|
+
"typescript-eslint": "^8.39.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"eslint": "^9.10.0"
|