@ethang/eslint-config 19.1.1 → 19.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
@@ -5,11 +5,11 @@
5
5
  > [!CAUTION]
6
6
  > Do not use this with Prettier! Styling rules are included.
7
7
 
8
- - 882 errored rules.
8
+ - 883 errored rules.
9
9
  - 289 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
- - 103 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
12
+ - 104 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
13
13
  - 91 rules from [@stylistic/eslint-plugin](https://eslint.style/)
14
14
  - 42 rules from [eslint-plugin-lodash](https://github.com/wix-incubator/eslint-plugin-lodash)
15
15
  - 35 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
package/build.mjs CHANGED
@@ -7,16 +7,17 @@ import { updateReactRules } from "./build/update-react-rules.js";
7
7
  import { updateSolidRules } from "./build/update-solid-rules.js";
8
8
  import { updateAstroRules } from "./build/update-astro-rules.js";
9
9
 
10
- updateRules();
11
- updateReactRules();
12
- updateSolidRules();
13
- updateAstroRules();
14
- updateReadme();
15
- execSync("pnpm lint");
16
-
17
10
  await projectBuilder("eslint-config-ethang", "master", {
18
11
  isLibrary: true,
19
12
  scripts: ["UPDATE", "DEDUPE", "LINT"],
13
+ postInstall: () => {
14
+ updateRules();
15
+ updateReactRules();
16
+ updateSolidRules();
17
+ updateAstroRules();
18
+ updateReadme();
19
+ execSync("pnpm lint");
20
+ },
20
21
  tsupOptions: {
21
22
  bundle: true,
22
23
  },
package/eslint.config.js CHANGED
@@ -320,6 +320,7 @@ export default tseslint.config(
320
320
  "@typescript-eslint/no-base-to-string": "error",
321
321
  "@typescript-eslint/no-confusing-non-null-assertion": "error",
322
322
  "@typescript-eslint/no-confusing-void-expression": "error",
323
+ "@typescript-eslint/no-deprecated": "error",
323
324
  "@typescript-eslint/no-dupe-class-members": "off",
324
325
  "@typescript-eslint/no-duplicate-enum-values": "error",
325
326
  "@typescript-eslint/no-duplicate-type-constituents": "error",
package/package.json CHANGED
@@ -1,28 +1,25 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "19.1.1",
3
+ "version": "19.2.0",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },
7
+ "license": "ISC",
8
+ "author": "Ethan Glover",
9
+ "type": "module",
7
10
  "main": "eslint.config.js",
8
11
  "scripts": {
9
- "lint": "prettier . -w",
10
- "build": "pnpx @eslint/config-inspector build"
12
+ "build": "pnpx @eslint/config-inspector build",
13
+ "lint": "prettier . -w"
11
14
  },
12
- "engines": {
13
- "node": ">=20"
14
- },
15
- "type": "module",
16
- "author": "Ethan Glover",
17
- "license": "ISC",
18
- "peerDependencies": {
19
- "@eslint-react/eslint-plugin": "^1.12.1",
15
+ "dependencies": {
16
+ "@eslint-react/eslint-plugin": "^1.12.2",
20
17
  "@eslint/js": "^9.9.1",
21
18
  "@eslint/json": "^0.4.0",
22
19
  "@eslint/markdown": "^6.0.0",
23
20
  "@stylistic/eslint-plugin": "^2.6.4",
24
21
  "@tanstack/eslint-plugin-query": "^5.52.0",
25
- "@typescript-eslint/parser": "^8.2.0",
22
+ "@typescript-eslint/parser": "^8.3.0",
26
23
  "eslint": "^9.9.1",
27
24
  "eslint-plugin-astro": "^1.2.3",
28
25
  "eslint-plugin-barrel-files": "^2.1.0",
@@ -38,16 +35,23 @@
38
35
  "eslint-plugin-tailwindcss": "^3.17.4",
39
36
  "eslint-plugin-unicorn": "^55.0.0",
40
37
  "typescript": "^5.5.4",
41
- "typescript-eslint": "^8.2.0"
38
+ "typescript-eslint": "^8.3.0"
42
39
  },
43
- "dependencies": {
44
- "@eslint-react/eslint-plugin": "^1.12.1",
40
+ "devDependencies": {
41
+ "@ethang/markdown-generator": "^1.1.1",
42
+ "@ethang/project-builder": "^2.5.0",
43
+ "@tsconfig/node-lts": "^20.1.3",
44
+ "@tsconfig/strictest": "^2.0.5",
45
+ "prettier": "^3.3.3"
46
+ },
47
+ "peerDependencies": {
48
+ "@eslint-react/eslint-plugin": "^1.12.2",
45
49
  "@eslint/js": "^9.9.1",
46
50
  "@eslint/json": "^0.4.0",
47
51
  "@eslint/markdown": "^6.0.0",
48
52
  "@stylistic/eslint-plugin": "^2.6.4",
49
53
  "@tanstack/eslint-plugin-query": "^5.52.0",
50
- "@typescript-eslint/parser": "^8.2.0",
54
+ "@typescript-eslint/parser": "^8.3.0",
51
55
  "eslint": "^9.9.1",
52
56
  "eslint-plugin-astro": "^1.2.3",
53
57
  "eslint-plugin-barrel-files": "^2.1.0",
@@ -63,13 +67,9 @@
63
67
  "eslint-plugin-tailwindcss": "^3.17.4",
64
68
  "eslint-plugin-unicorn": "^55.0.0",
65
69
  "typescript": "^5.5.4",
66
- "typescript-eslint": "^8.2.0"
70
+ "typescript-eslint": "^8.3.0"
67
71
  },
68
- "devDependencies": {
69
- "@ethang/markdown-generator": "^1.1.1",
70
- "@ethang/project-builder": "^2.3.10",
71
- "@tsconfig/node-lts": "^20.1.3",
72
- "@tsconfig/strictest": "^2.0.5",
73
- "prettier": "^3.3.3"
72
+ "engines": {
73
+ "node": ">=20"
74
74
  }
75
75
  }