@debbl/eslint-config 3.3.0 → 3.3.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.cjs CHANGED
@@ -947,6 +947,8 @@ var typeAwareRules = {
947
947
  "@typescript-eslint/restrict-plus-operands": "error",
948
948
  "@typescript-eslint/restrict-template-expressions": "error",
949
949
  "@typescript-eslint/strict-boolean-expressions": "error",
950
+ "@typescript-eslint/return-await": "error",
951
+ "@typescript-eslint/switch-exhaustiveness-check": "error",
950
952
  "@typescript-eslint/unbound-method": "error"
951
953
  };
952
954
  var typescript = async (options) => {
@@ -1647,8 +1649,7 @@ function config(options = {}) {
1647
1649
  unicorn(),
1648
1650
  perfectionist()
1649
1651
  );
1650
- if (enableVue)
1651
- componentExts.push("vue");
1652
+ if (enableVue) componentExts.push("vue");
1652
1653
  if (enableTypeScript) {
1653
1654
  configs.push(
1654
1655
  typescript({
package/dist/index.js CHANGED
@@ -865,6 +865,8 @@ var typeAwareRules = {
865
865
  "@typescript-eslint/restrict-plus-operands": "error",
866
866
  "@typescript-eslint/restrict-template-expressions": "error",
867
867
  "@typescript-eslint/strict-boolean-expressions": "error",
868
+ "@typescript-eslint/return-await": "error",
869
+ "@typescript-eslint/switch-exhaustiveness-check": "error",
868
870
  "@typescript-eslint/unbound-method": "error"
869
871
  };
870
872
  var typescript = async (options) => {
@@ -1565,8 +1567,7 @@ function config(options = {}) {
1565
1567
  unicorn(),
1566
1568
  perfectionist()
1567
1569
  );
1568
- if (enableVue)
1569
- componentExts.push("vue");
1570
+ if (enableVue) componentExts.push("vue");
1570
1571
  if (enableTypeScript) {
1571
1572
  configs.push(
1572
1573
  typescript({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@debbl/eslint-config",
3
3
  "type": "module",
4
- "version": "3.3.0",
4
+ "version": "3.3.2",
5
5
  "description": "Brendan Dash's ESLint config",
6
6
  "author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
7
7
  "license": "MIT",
@@ -26,55 +26,55 @@
26
26
  "eslint": ">=8.40.0"
27
27
  },
28
28
  "dependencies": {
29
- "@next/eslint-plugin-next": "^14.2.3",
30
- "@typescript-eslint/eslint-plugin": "^7.11.0",
31
- "@typescript-eslint/parser": "^7.11.0",
29
+ "@next/eslint-plugin-next": "^14.2.4",
30
+ "@typescript-eslint/eslint-plugin": "^7.14.1",
31
+ "@typescript-eslint/parser": "^7.14.1",
32
32
  "eslint-config-prettier": "^9.1.0",
33
33
  "eslint-mdx": "^3.1.5",
34
34
  "eslint-plugin-eslint-comments": "^3.2.0",
35
- "eslint-plugin-import-x": "^0.5.1",
36
- "eslint-plugin-jsdoc": "^48.2.6",
35
+ "eslint-plugin-import-x": "^0.5.2",
36
+ "eslint-plugin-jsdoc": "^48.5.0",
37
37
  "eslint-plugin-jsonc": "^2.16.0",
38
38
  "eslint-plugin-markdown": "^5.0.0",
39
39
  "eslint-plugin-mdx": "^3.1.5",
40
- "eslint-plugin-n": "^17.7.0",
40
+ "eslint-plugin-n": "^17.9.0",
41
41
  "eslint-plugin-no-only-tests": "^3.1.0",
42
- "eslint-plugin-perfectionist": "^2.10.0",
42
+ "eslint-plugin-perfectionist": "^2.11.0",
43
43
  "eslint-plugin-prettier": "^5.1.3",
44
- "eslint-plugin-react": "^7.34.2",
45
- "eslint-plugin-react-compiler": "0.0.0-experimental-a97cca1-20240529",
44
+ "eslint-plugin-react": "^7.34.3",
45
+ "eslint-plugin-react-compiler": "latest",
46
46
  "eslint-plugin-react-hooks": "4.6.2",
47
47
  "eslint-plugin-react-refresh": "^0.4.7",
48
- "eslint-plugin-solid": "^0.14.0",
49
- "eslint-plugin-tailwindcss": "^3.17.0",
50
- "eslint-plugin-toml": "^0.11.0",
51
- "eslint-plugin-unicorn": "^53.0.0",
52
- "eslint-plugin-unused-imports": "^4.0.0",
48
+ "eslint-plugin-solid": "^0.14.1",
49
+ "eslint-plugin-tailwindcss": "^3.17.4",
50
+ "eslint-plugin-toml": "^0.11.1",
51
+ "eslint-plugin-unicorn": "^54.0.0",
52
+ "eslint-plugin-unused-imports": "^3.2.0",
53
53
  "eslint-plugin-vitest": "^0.5.4",
54
54
  "eslint-plugin-vue": "^9.26.0",
55
55
  "eslint-plugin-yml": "^1.14.0",
56
- "globals": "^15.3.0",
56
+ "globals": "^15.6.0",
57
57
  "jsonc-eslint-parser": "^2.4.0",
58
- "prettier": "^3.2.5",
59
- "prettier-plugin-tailwindcss": "^0.5.14",
60
- "toml-eslint-parser": "^0.9.3",
61
- "vue-eslint-parser": "^9.4.2",
58
+ "prettier": "^3.3.2",
59
+ "prettier-plugin-tailwindcss": "^0.6.5",
60
+ "toml-eslint-parser": "^0.10.0",
61
+ "vue-eslint-parser": "^9.4.3",
62
62
  "yaml-eslint-parser": "^1.2.3"
63
63
  },
64
64
  "devDependencies": {
65
- "@eslint/config-inspector": "^0.4.8",
65
+ "@eslint/config-inspector": "^0.5.0",
66
66
  "@types/eslint": "^8.56.10",
67
- "@types/node": "^20.12.12",
67
+ "@types/node": "^20.14.9",
68
68
  "@types/react": "^18.3.3",
69
69
  "bumpp": "^9.4.1",
70
- "eslint": "^8.57.0",
71
- "execa": "^9.1.0",
70
+ "eslint": "8.57.0",
71
+ "execa": "^9.3.0",
72
72
  "fast-glob": "^3.3.2",
73
73
  "fs-extra": "^11.2.0",
74
74
  "react": "^18.3.1",
75
75
  "sucrase": "^3.35.0",
76
- "tsup": "^8.0.2",
77
- "typescript": "^5.4.5",
76
+ "tsup": "^8.1.0",
77
+ "typescript": "^5.5.2",
78
78
  "vitest": "^1.6.0"
79
79
  },
80
80
  "scripts": {