@ethang/eslint-config 19.8.9 → 19.9.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/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  > [!CAUTION]
6
6
  > Do not use this with Prettier! Styling rules are included.
7
7
 
8
- - 886 errored rules.
9
- - 289 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/README.md)
8
+ - 891 errored rules.
9
+ - 294 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/README.md)
10
10
  - 144 rules from [@eslint/js](https://github.com/eslint/eslint/tree/main/packages/js)
11
11
  - 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
12
12
  - 103 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
package/build.mjs CHANGED
@@ -4,10 +4,10 @@ import { projectBuilder } from "@ethang/project-builder/project-builder.js";
4
4
  await projectBuilder("eslint-config-ethang", "master", {
5
5
  isLibrary: true,
6
6
  scripts: [
7
- "bun x taze latest -I -w",
7
+ "pnpm up -i --latest",
8
8
  "bun ./build/update-rules.ts",
9
9
  "bun ./build/update-readme.ts",
10
- "bun lint",
10
+ "pnpm lint",
11
11
  ],
12
12
  tsupOptions: {
13
13
  bundle: true,
package/eslint.config.js CHANGED
@@ -52,6 +52,7 @@ export default tseslint.config(
52
52
  {
53
53
  cspell: {
54
54
  words: [
55
+ "toolbelt",
55
56
  "taze",
56
57
  "ethang",
57
58
  "TSESTree",
@@ -736,6 +737,7 @@ export default tseslint.config(
736
737
  "sonar/no-array-delete": "error",
737
738
  "sonar/no-array-index-key": "error",
738
739
  "sonar/no-associative-arrays": "error",
740
+ "sonar/no-async-constructor": "error",
739
741
  "sonar/no-base-to-string": "error",
740
742
  "sonar/no-built-in-override": "error",
741
743
  "sonar/no-case-label-in-switch": "error",
@@ -783,6 +785,7 @@ export default tseslint.config(
783
785
  "sonar/no-inconsistent-returns": "off",
784
786
  "sonar/no-incorrect-string-concat": "error",
785
787
  "sonar/no-infinite-loop": "error",
788
+ "sonar/no-internal-api-use": "error",
786
789
  "sonar/no-intrusive-permissions": "error",
787
790
  "sonar/no-invalid-await": "error",
788
791
  "sonar/no-invariant-returns": "error",
@@ -817,7 +820,10 @@ export default tseslint.config(
817
820
  "sonar/no-return-type-any": "error",
818
821
  "sonar/no-same-argument-assert": "error",
819
822
  "sonar/no-same-line-conditional": "error",
823
+ "sonar/no-selector-parameter": "error",
820
824
  "sonar/no-self-compare": "error",
825
+ "sonar/no-self-import": "error",
826
+ "sonar/no-skipped-test": "error",
821
827
  "sonar/no-small-switch": "error",
822
828
  "sonar/no-table-as-layout": "error",
823
829
  "sonar/no-this-alias": "error",
@@ -857,7 +863,6 @@ export default tseslint.config(
857
863
  "sonar/object-shorthand": "error",
858
864
  "sonar/operation-returning-nan": "error",
859
865
  "sonar/os-command": "error",
860
- "sonar/pluginRules-of-hooks": "error",
861
866
  "sonar/post-message": "error",
862
867
  "sonar/prefer-default-last": "error",
863
868
  "sonar/prefer-enum-initializers": "error",
@@ -882,6 +887,7 @@ export default tseslint.config(
882
887
  "sonar/reduce-initial-value": "error",
883
888
  "sonar/redundant-type-aliases": "error",
884
889
  "sonar/regex-complexity": "error",
890
+ "sonar/rules-of-hooks": "error",
885
891
  "sonar/session-regeneration": "error",
886
892
  "sonar/shorthand-property-grouping": "off",
887
893
  "sonar/single-char-in-character-classes": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "19.8.9",
3
+ "version": "19.9.1",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },
@@ -14,16 +14,16 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@cspell/eslint-plugin": "^8.14.4",
17
- "@eslint-react/eslint-plugin": "^1.14.2",
17
+ "@eslint-react/eslint-plugin": "^1.14.3",
18
18
  "@eslint/compat": "^1.1.1",
19
19
  "@eslint/js": "^9.11.1",
20
- "@eslint/json": "^0.4.1",
20
+ "@eslint/json": "^0.5.0",
21
21
  "@eslint/markdown": "^6.1.1",
22
22
  "@stylistic/eslint-plugin": "^2.8.0",
23
23
  "@stylistic/eslint-plugin-ts": "^2.8.0",
24
24
  "@tanstack/eslint-plugin-query": "^5.58.1",
25
25
  "@tanstack/eslint-plugin-router": "^1.58.6",
26
- "@typescript-eslint/parser": "^8.7.0",
26
+ "@typescript-eslint/parser": "^8.8.0",
27
27
  "eslint": "^9.11.1",
28
28
  "eslint-plugin-astro": "^1.2.4",
29
29
  "eslint-plugin-barrel-files": "^2.1.0",
@@ -32,14 +32,14 @@
32
32
  "eslint-plugin-jsx-a11y": "^6.10.0",
33
33
  "eslint-plugin-lodash": "^8.0.0",
34
34
  "eslint-plugin-n": "^17.10.3",
35
- "eslint-plugin-perfectionist": "^3.7.0",
35
+ "eslint-plugin-perfectionist": "^3.8.0",
36
36
  "eslint-plugin-react-hooks": "^4.6.2",
37
37
  "eslint-plugin-solid": "^0.14.3",
38
- "eslint-plugin-sonarjs": "2.0.2",
38
+ "eslint-plugin-sonarjs": "2.0.3",
39
39
  "eslint-plugin-tailwindcss": "^3.17.4",
40
40
  "eslint-plugin-unicorn": "^55.0.0",
41
41
  "typescript": "^5.6.2",
42
- "typescript-eslint": "^8.7.0"
42
+ "typescript-eslint": "^8.8.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@ethang/markdown-generator": "^1.1.1",
@@ -54,16 +54,16 @@
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@cspell/eslint-plugin": "^8.14.4",
57
- "@eslint-react/eslint-plugin": "^1.14.2",
57
+ "@eslint-react/eslint-plugin": "^1.14.3",
58
58
  "@eslint/compat": "^1.1.1",
59
59
  "@eslint/js": "^9.11.1",
60
- "@eslint/json": "^0.4.1",
60
+ "@eslint/json": "^0.5.0",
61
61
  "@eslint/markdown": "^6.1.1",
62
62
  "@stylistic/eslint-plugin": "^2.8.0",
63
63
  "@stylistic/eslint-plugin-ts": "^2.8.0",
64
64
  "@tanstack/eslint-plugin-query": "^5.58.1",
65
65
  "@tanstack/eslint-plugin-router": "^1.58.6",
66
- "@typescript-eslint/parser": "^8.7.0",
66
+ "@typescript-eslint/parser": "^8.8.0",
67
67
  "eslint": "^9.11.1",
68
68
  "eslint-plugin-astro": "^1.2.4",
69
69
  "eslint-plugin-barrel-files": "^2.1.0",
@@ -72,14 +72,14 @@
72
72
  "eslint-plugin-jsx-a11y": "^6.10.0",
73
73
  "eslint-plugin-lodash": "^8.0.0",
74
74
  "eslint-plugin-n": "^17.10.3",
75
- "eslint-plugin-perfectionist": "^3.7.0",
75
+ "eslint-plugin-perfectionist": "^3.8.0",
76
76
  "eslint-plugin-react-hooks": "^4.6.2",
77
77
  "eslint-plugin-solid": "^0.14.3",
78
- "eslint-plugin-sonarjs": "2.0.2",
78
+ "eslint-plugin-sonarjs": "2.0.3",
79
79
  "eslint-plugin-tailwindcss": "^3.17.4",
80
80
  "eslint-plugin-unicorn": "^55.0.0",
81
81
  "typescript": "^5.6.2",
82
- "typescript-eslint": "^8.7.0"
82
+ "typescript-eslint": "^8.8.0"
83
83
  },
84
84
  "engines": {
85
85
  "node": ">=20"
package/setup/cspell.ts CHANGED
@@ -11,6 +11,7 @@ const customRules: CustomRules = [
11
11
  {
12
12
  cspell: {
13
13
  words: [
14
+ "toolbelt",
14
15
  "taze",
15
16
  "ethang",
16
17
  "TSESTree",
package/bun.lockb DELETED
Binary file