@ethang/eslint-config 18.1.9 → 18.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/README.md CHANGED
@@ -2,18 +2,21 @@
2
2
 
3
3
  [View Config](https://eslint-config-ethang.pages.dev/rules)
4
4
 
5
- * 494 errored rules.
5
+ * 524 errored rules.
6
6
  * 142 rules from vanilla EsLint
7
7
  * 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
8
8
  * 104 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
9
+ * 42 rules from [eslint-plugin-lodash](https://github.com/wix-incubator/eslint-plugin-lodash)
9
10
  * 35 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
10
11
  * 32 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
11
12
  * 20 rules from [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n/tree/67bbfdf3c6862dcbfe455a4afbd83fa60f9d1ea4)
12
13
  * 20 rules from [eslint-plugin-github](https://github.com/github/eslint-plugin-github)
13
14
  * 19 rules from [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist)
15
+ * 7 rules from [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss)
14
16
  * 4 rules from [eslint-plugin-barrel-files](https://github.com/thepassle/eslint-plugin-barrel-files)
15
17
  * 3 rules from [@tanstack/eslint-plugin-query](https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query)
16
18
  * 1 rule from [eslint-plugin-depend](https://github.com/es-tooling/eslint-plugin-depend/tree/main)
19
+ * 1 rule from [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat)
17
20
  * Includes Prettier built-in (do NOT use this with a separate Prettier config.)
18
21
 
19
22
  # Add Even More!
@@ -63,7 +66,7 @@ export default tseslint.config(...config, ...astroConfig, ...reactConfig, {
63
66
  }
64
67
  ```
65
68
 
66
- ** Browserslist **
69
+ **Browserslist**
67
70
 
68
71
  This config will also lint for browserslist features. Make sure to set this in package.json. [More info.](https://github.com/browserslist/browserslist)
69
72
 
package/eslint.config.js CHANGED
@@ -13,7 +13,6 @@ import barrel from "eslint-plugin-barrel-files";
13
13
  import compat from "eslint-plugin-compat";
14
14
  import lodashConfig from "eslint-plugin-lodash";
15
15
  import tailwind from "eslint-plugin-tailwindcss";
16
- import { plugin as exception } from "eslint-plugin-exception-handling";
17
16
 
18
17
  export const languageOptions = {
19
18
  parser,
@@ -36,7 +35,6 @@ export default tseslint.config(eslintPluginPrettier, {
36
35
  barrel,
37
36
  compat,
38
37
  depend,
39
- exception,
40
38
  lodash: lodashConfig,
41
39
  n,
42
40
  perfectionist,
@@ -532,10 +530,6 @@ export default tseslint.config(eslintPluginPrettier, {
532
530
  "@tanstack/query/no-rest-destructuring": "error",
533
531
  "@tanstack/query/stable-query-client": "error",
534
532
 
535
- "exception/no-unhandled": "error",
536
- "exception/might-throw": "error",
537
- "exception/use-error-cause": "error",
538
-
539
533
  "tailwind/classnames-order": "error",
540
534
  "tailwind/enforces-negative-arbitrary-values": "error",
541
535
  "tailwind/enforces-shorthand": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "18.1.9",
3
+ "version": "18.2.0",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },
@@ -26,13 +26,11 @@
26
26
  "eslint-plugin-barrel-files": "^2.1.0",
27
27
  "eslint-plugin-compat": "^6.0.0",
28
28
  "eslint-plugin-depend": "^0.9.0",
29
- "eslint-plugin-exception-handling": "^1.3.1",
30
29
  "eslint-plugin-jsx-a11y": "^6.9.0",
31
30
  "eslint-plugin-lodash": "^8.0.0",
32
31
  "eslint-plugin-n": "^17.10.1",
33
32
  "eslint-plugin-perfectionist": "^3.1.0",
34
33
  "eslint-plugin-prettier": "^5.2.1",
35
- "eslint-plugin-react": "^7.35.0",
36
34
  "eslint-plugin-react-hooks": "^4.6.2",
37
35
  "eslint-plugin-sonarjs": "1.0.4",
38
36
  "eslint-plugin-tailwindcss": "^3.17.4",
@@ -52,13 +50,11 @@
52
50
  "eslint-plugin-barrel-files": "^2.1.0",
53
51
  "eslint-plugin-compat": "^6.0.0",
54
52
  "eslint-plugin-depend": "^0.9.0",
55
- "eslint-plugin-exception-handling": "^1.3.1",
56
53
  "eslint-plugin-jsx-a11y": "^6.9.0",
57
54
  "eslint-plugin-lodash": "^8.0.0",
58
55
  "eslint-plugin-n": "^17.10.1",
59
56
  "eslint-plugin-perfectionist": "^3.1.0",
60
57
  "eslint-plugin-prettier": "^5.2.1",
61
- "eslint-plugin-react": "^7.35.0",
62
58
  "eslint-plugin-react-hooks": "^4.6.2",
63
59
  "eslint-plugin-sonarjs": "1.0.4",
64
60
  "eslint-plugin-tailwindcss": "^3.17.4",