@kyh/eslint-config 1.0.7 → 1.0.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/CHANGELOG.md +6 -0
- package/package.json +9 -8
- package/types.d.ts +1 -20
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyh/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -11,21 +11,22 @@
|
|
|
11
11
|
"./react": "./react.js"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@eslint/compat": "^1.2.
|
|
14
|
+
"@eslint/compat": "^1.2.1",
|
|
15
15
|
"@next/eslint-plugin-next": "^14.2.15",
|
|
16
16
|
"eslint-plugin-import": "^2.31.0",
|
|
17
17
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
18
18
|
"eslint-plugin-react": "^7.37.1",
|
|
19
|
-
"eslint-plugin-react-hooks": "
|
|
20
|
-
"eslint-plugin-turbo": "^2.1
|
|
21
|
-
"typescript-eslint": "^8.
|
|
19
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
20
|
+
"eslint-plugin-turbo": "^2.2.1",
|
|
21
|
+
"typescript-eslint": "^8.10.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"
|
|
24
|
+
"@types/eslint__js": "8.42.3",
|
|
25
|
+
"eslint": "^9.13.0",
|
|
25
26
|
"prettier": "^3.3.3",
|
|
26
27
|
"typescript": "^5.6.3",
|
|
27
|
-
"@kyh/prettier-config": "1.0.
|
|
28
|
-
"@kyh/tsconfig": "1.0.
|
|
28
|
+
"@kyh/prettier-config": "1.0.8",
|
|
29
|
+
"@kyh/tsconfig": "1.0.8"
|
|
29
30
|
},
|
|
30
31
|
"prettier": "@kyh/prettier-config",
|
|
31
32
|
"scripts": {
|
package/types.d.ts
CHANGED
|
@@ -3,16 +3,6 @@
|
|
|
3
3
|
* we "need" to type some of the plugins manually :(
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
declare module "@eslint/js" {
|
|
7
|
-
// Why the hell doesn't eslint themselves export their types?
|
|
8
|
-
import type { Linter } from "eslint";
|
|
9
|
-
|
|
10
|
-
export const configs: {
|
|
11
|
-
readonly recommended: { readonly rules: Readonly<Linter.RulesRecord> };
|
|
12
|
-
readonly all: { readonly rules: Readonly<Linter.RulesRecord> };
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
6
|
declare module "eslint-plugin-import" {
|
|
17
7
|
import type { Linter, Rule } from "eslint";
|
|
18
8
|
|
|
@@ -55,13 +45,4 @@ declare module "@next/eslint-plugin-next" {
|
|
|
55
45
|
"core-web-vitals": { rules: Linter.RulesRecord };
|
|
56
46
|
};
|
|
57
47
|
export const rules: Record<string, Rule.RuleModule>;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare module "eslint-plugin-turbo" {
|
|
61
|
-
import type { Linter, Rule } from "eslint";
|
|
62
|
-
|
|
63
|
-
export const configs: {
|
|
64
|
-
recommended: { rules: Linter.RulesRecord };
|
|
65
|
-
};
|
|
66
|
-
export const rules: Record<string, Rule.RuleModule>;
|
|
67
|
-
}
|
|
48
|
+
}
|