@ethang/eslint-config 19.2.9 → 19.2.11
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/eslint.config.js +4 -1
- package/package.json +11 -11
- package/setup/typescript-eslint.js +4 -0
package/eslint.config.js
CHANGED
|
@@ -300,7 +300,10 @@ export default tseslint.config(
|
|
|
300
300
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
301
301
|
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
|
|
302
302
|
"@typescript-eslint/consistent-type-exports": "error",
|
|
303
|
-
"@typescript-eslint/consistent-type-imports":
|
|
303
|
+
"@typescript-eslint/consistent-type-imports": [
|
|
304
|
+
"error",
|
|
305
|
+
{ fixStyle: "inline-type-imports" },
|
|
306
|
+
],
|
|
304
307
|
"@typescript-eslint/default-param-last": "error",
|
|
305
308
|
"@typescript-eslint/dot-notation": "error",
|
|
306
309
|
"@typescript-eslint/explicit-function-return-type": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethang/eslint-config",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.11",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "git+https://github.com/eglove/eslint-config-ethang.git"
|
|
6
6
|
},
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
"lint": "prettier . -w"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
16
|
+
"@eslint-react/eslint-plugin": "^1.13.0",
|
|
17
17
|
"@eslint/js": "^9.9.1",
|
|
18
18
|
"@eslint/json": "^0.4.0",
|
|
19
19
|
"@eslint/markdown": "^6.0.0",
|
|
20
|
-
"@ethang/eslint-plugin": "^0.0.
|
|
20
|
+
"@ethang/eslint-plugin": "^0.0.7",
|
|
21
21
|
"@stylistic/eslint-plugin": "^2.7.2",
|
|
22
22
|
"@tanstack/eslint-plugin-query": "^5.53.0",
|
|
23
|
-
"@typescript-eslint/parser": "^8.
|
|
23
|
+
"@typescript-eslint/parser": "^8.4.0",
|
|
24
24
|
"eslint": "^9.9.1",
|
|
25
25
|
"eslint-plugin-astro": "^1.2.3",
|
|
26
26
|
"eslint-plugin-barrel-files": "^2.1.0",
|
|
27
27
|
"eslint-plugin-compat": "^6.0.0",
|
|
28
28
|
"eslint-plugin-depend": "^0.11.0",
|
|
29
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
29
|
+
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
30
30
|
"eslint-plugin-lodash": "^8.0.0",
|
|
31
31
|
"eslint-plugin-n": "^17.10.2",
|
|
32
32
|
"eslint-plugin-perfectionist": "^3.3.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
37
37
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
38
38
|
"typescript": "^5.5.4",
|
|
39
|
-
"typescript-eslint": "^8.
|
|
39
|
+
"typescript-eslint": "^8.4.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@ethang/markdown-generator": "^1.1.1",
|
|
@@ -46,20 +46,20 @@
|
|
|
46
46
|
"prettier": "^3.3.3"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
49
|
+
"@eslint-react/eslint-plugin": "^1.13.0",
|
|
50
50
|
"@eslint/js": "^9.9.1",
|
|
51
51
|
"@eslint/json": "^0.4.0",
|
|
52
52
|
"@eslint/markdown": "^6.0.0",
|
|
53
|
-
"@ethang/eslint-plugin": "^0.0.
|
|
53
|
+
"@ethang/eslint-plugin": "^0.0.7",
|
|
54
54
|
"@stylistic/eslint-plugin": "^2.7.2",
|
|
55
55
|
"@tanstack/eslint-plugin-query": "^5.53.0",
|
|
56
|
-
"@typescript-eslint/parser": "^8.
|
|
56
|
+
"@typescript-eslint/parser": "^8.4.0",
|
|
57
57
|
"eslint": "^9.9.1",
|
|
58
58
|
"eslint-plugin-astro": "^1.2.3",
|
|
59
59
|
"eslint-plugin-barrel-files": "^2.1.0",
|
|
60
60
|
"eslint-plugin-compat": "^6.0.0",
|
|
61
61
|
"eslint-plugin-depend": "^0.11.0",
|
|
62
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
62
|
+
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
63
63
|
"eslint-plugin-lodash": "^8.0.0",
|
|
64
64
|
"eslint-plugin-n": "^17.10.2",
|
|
65
65
|
"eslint-plugin-perfectionist": "^3.3.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
70
70
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
71
71
|
"typescript": "^5.5.4",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
72
|
+
"typescript-eslint": "^8.4.0"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=20"
|
|
@@ -20,6 +20,10 @@ const customRules = [
|
|
|
20
20
|
name: "consistent-type-definitions",
|
|
21
21
|
rule: ["error", "type"],
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
name: "consistent-type-imports",
|
|
25
|
+
rule: ["error", { fixStyle: "inline-type-imports" }],
|
|
26
|
+
},
|
|
23
27
|
{
|
|
24
28
|
name: "explicit-function-return-type",
|
|
25
29
|
rule: "off",
|