@will-stone/eslint-config 7.1.0 → 7.2.1

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 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",
@@ -1047,7 +1048,6 @@ function typescript(options) {
1047
1048
  "@typescript-eslint/no-misused-promises": "off",
1048
1049
  "@typescript-eslint/no-mixed-enums": "off",
1049
1050
  "@typescript-eslint/no-redundant-type-constituents": "off",
1050
- "@typescript-eslint/no-throw-literal": "off",
1051
1051
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1052
1052
  "@typescript-eslint/no-unnecessary-condition": "off",
1053
1053
  "@typescript-eslint/no-unnecessary-qualifier": "off",
@@ -1062,6 +1062,7 @@ function typescript(options) {
1062
1062
  "@typescript-eslint/no-unsafe-unary-minus": "off",
1063
1063
  "@typescript-eslint/no-useless-template-literals": "error",
1064
1064
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1065
+ "@typescript-eslint/only-throw-error": "off",
1065
1066
  "@typescript-eslint/prefer-destructuring": "off",
1066
1067
  "@typescript-eslint/prefer-find": "off",
1067
1068
  "@typescript-eslint/prefer-includes": "off",
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",
@@ -1047,7 +1048,6 @@ function typescript(options) {
1047
1048
  "@typescript-eslint/no-misused-promises": "off",
1048
1049
  "@typescript-eslint/no-mixed-enums": "off",
1049
1050
  "@typescript-eslint/no-redundant-type-constituents": "off",
1050
- "@typescript-eslint/no-throw-literal": "off",
1051
1051
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
1052
1052
  "@typescript-eslint/no-unnecessary-condition": "off",
1053
1053
  "@typescript-eslint/no-unnecessary-qualifier": "off",
@@ -1062,6 +1062,7 @@ function typescript(options) {
1062
1062
  "@typescript-eslint/no-unsafe-unary-minus": "off",
1063
1063
  "@typescript-eslint/no-useless-template-literals": "error",
1064
1064
  "@typescript-eslint/non-nullable-type-assertion-style": "off",
1065
+ "@typescript-eslint/only-throw-error": "off",
1065
1066
  "@typescript-eslint/prefer-destructuring": "off",
1066
1067
  "@typescript-eslint/prefer-find": "off",
1067
1068
  "@typescript-eslint/prefer-includes": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/eslint-config",
3
- "version": "7.1.0",
3
+ "version": "7.2.1",
4
4
  "description": "Will Stone's ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config"
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "scripts": {
28
28
  "build": "tsup src/index.ts --format esm,cjs --clean --dts --cjsInterop --splitting",
29
- "dev": "tsup src/index.ts --format esm,cjs --watch & eslint-flat-config-viewer",
29
+ "dev": "tsup src/index.ts --format esm,cjs --watch & config-inspector",
30
30
  "lint": "npm run stub && eslint .",
31
31
  "prepare": "husky install",
32
32
  "prepublishOnly": "npm run build",
@@ -43,12 +43,12 @@
43
43
  },
44
44
  "prettier": "@will-stone/prettier-config",
45
45
  "dependencies": {
46
- "@typescript-eslint/eslint-plugin": "^7.3.1",
47
- "@typescript-eslint/parser": "^7.3.1",
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.32.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",
@@ -61,23 +61,23 @@
61
61
  "eslint-plugin-tailwindcss": "^3.15.1",
62
62
  "eslint-plugin-unicorn": "^51.0.1",
63
63
  "glob": "^10.3.10",
64
- "globals": "^14.0.0",
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
+ "@eslint/config-inspector": "^0.1.0",
70
71
  "@types/confusing-browser-globals": "^1.0.3",
71
72
  "@types/eslint": "^8.56.6",
72
73
  "@types/node": "^20.11.30",
73
74
  "@will-stone/prettier-config": "^7.0.3",
74
75
  "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.13.1",
80
+ "type-fest": "^4.14.0",
81
81
  "typescript": "^5.4.3"
82
82
  },
83
83
  "peerDependencies": {