@will-stone/eslint-config 7.0.0 → 7.2.0
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.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +13 -13
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,7 @@ function astro() {
|
|
|
21
21
|
astro: _eslintpluginastro2.default
|
|
22
22
|
},
|
|
23
23
|
rules: {
|
|
24
|
+
"astro/missing-client-only-directive-value": "error",
|
|
24
25
|
"astro/no-conflict-set-directives": "error",
|
|
25
26
|
"astro/no-deprecated-astro-canonicalurl": "error",
|
|
26
27
|
"astro/no-deprecated-astro-fetchcontent": "error",
|
|
@@ -1062,6 +1063,7 @@ function typescript(options) {
|
|
|
1062
1063
|
"@typescript-eslint/no-unsafe-unary-minus": "off",
|
|
1063
1064
|
"@typescript-eslint/no-useless-template-literals": "error",
|
|
1064
1065
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
1066
|
+
"@typescript-eslint/only-throw-error": "off",
|
|
1065
1067
|
"@typescript-eslint/prefer-destructuring": "off",
|
|
1066
1068
|
"@typescript-eslint/prefer-find": "off",
|
|
1067
1069
|
"@typescript-eslint/prefer-includes": "off",
|
|
@@ -1082,7 +1084,8 @@ function typescript(options) {
|
|
|
1082
1084
|
"@typescript-eslint/return-await": "off",
|
|
1083
1085
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
1084
1086
|
"@typescript-eslint/switch-exhaustiveness-check": "off",
|
|
1085
|
-
"@typescript-eslint/unbound-method": "off"
|
|
1087
|
+
"@typescript-eslint/unbound-method": "off",
|
|
1088
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off"
|
|
1086
1089
|
} : {},
|
|
1087
1090
|
/**
|
|
1088
1091
|
* Superseded by TS rules below
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,7 @@ function astro() {
|
|
|
21
21
|
astro: pluginAstro
|
|
22
22
|
},
|
|
23
23
|
rules: {
|
|
24
|
+
"astro/missing-client-only-directive-value": "error",
|
|
24
25
|
"astro/no-conflict-set-directives": "error",
|
|
25
26
|
"astro/no-deprecated-astro-canonicalurl": "error",
|
|
26
27
|
"astro/no-deprecated-astro-fetchcontent": "error",
|
|
@@ -1062,6 +1063,7 @@ function typescript(options) {
|
|
|
1062
1063
|
"@typescript-eslint/no-unsafe-unary-minus": "off",
|
|
1063
1064
|
"@typescript-eslint/no-useless-template-literals": "error",
|
|
1064
1065
|
"@typescript-eslint/non-nullable-type-assertion-style": "off",
|
|
1066
|
+
"@typescript-eslint/only-throw-error": "off",
|
|
1065
1067
|
"@typescript-eslint/prefer-destructuring": "off",
|
|
1066
1068
|
"@typescript-eslint/prefer-find": "off",
|
|
1067
1069
|
"@typescript-eslint/prefer-includes": "off",
|
|
@@ -1082,7 +1084,8 @@ function typescript(options) {
|
|
|
1082
1084
|
"@typescript-eslint/return-await": "off",
|
|
1083
1085
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
1084
1086
|
"@typescript-eslint/switch-exhaustiveness-check": "off",
|
|
1085
|
-
"@typescript-eslint/unbound-method": "off"
|
|
1087
|
+
"@typescript-eslint/unbound-method": "off",
|
|
1088
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off"
|
|
1086
1089
|
} : {},
|
|
1087
1090
|
/**
|
|
1088
1091
|
* Superseded by TS rules below
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@will-stone/eslint-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "Will Stone's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config"
|
|
@@ -43,42 +43,42 @@
|
|
|
43
43
|
},
|
|
44
44
|
"prettier": "@will-stone/prettier-config",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
47
|
-
"@typescript-eslint/parser": "^7.
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
47
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
48
48
|
"astro-eslint-parser": "^0.16.3",
|
|
49
49
|
"confusing-browser-globals": "^1.0.11",
|
|
50
50
|
"eslint-config-flat-gitignore": "^0.1.3",
|
|
51
|
-
"eslint-plugin-astro": "^0.
|
|
51
|
+
"eslint-plugin-astro": "^0.33.1",
|
|
52
52
|
"eslint-plugin-i": "^2.29.1",
|
|
53
53
|
"eslint-plugin-jest": "^27.9.0",
|
|
54
54
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
55
55
|
"eslint-plugin-n": "^16.6.2",
|
|
56
56
|
"eslint-plugin-prettier": "^5.1.3",
|
|
57
|
-
"eslint-plugin-react": "^7.34.
|
|
57
|
+
"eslint-plugin-react": "^7.34.1",
|
|
58
58
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
59
59
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
60
60
|
"eslint-plugin-switch-case": "^1.1.2",
|
|
61
|
-
"eslint-plugin-tailwindcss": "^3.
|
|
61
|
+
"eslint-plugin-tailwindcss": "^3.15.1",
|
|
62
62
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
63
63
|
"glob": "^10.3.10",
|
|
64
|
-
"globals": "^
|
|
64
|
+
"globals": "^15.0.0",
|
|
65
65
|
"globby": "^14.0.1",
|
|
66
66
|
"load-json-file": "^7.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@changesets/cli": "^2.27.1",
|
|
70
70
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
71
|
-
"@types/eslint": "^8.56.
|
|
72
|
-
"@types/node": "^20.11.
|
|
71
|
+
"@types/eslint": "^8.56.6",
|
|
72
|
+
"@types/node": "^20.11.30",
|
|
73
73
|
"@will-stone/prettier-config": "^7.0.3",
|
|
74
|
-
"eslint": "^8.
|
|
75
|
-
"eslint-flat-config-viewer": "^0.1.
|
|
74
|
+
"eslint": "^8.57.0",
|
|
75
|
+
"eslint-flat-config-viewer": "^0.1.14",
|
|
76
76
|
"husky": "^9.0.11",
|
|
77
77
|
"lint-staged": "^15.2.2",
|
|
78
78
|
"prettier": "^3.2.5",
|
|
79
79
|
"tsup": "^8.0.2",
|
|
80
|
-
"type-fest": "^4.
|
|
81
|
-
"typescript": "^5.4.
|
|
80
|
+
"type-fest": "^4.14.0",
|
|
81
|
+
"typescript": "^5.4.3"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"eslint": ">=8.57.0"
|