@ethang/eslint-config 22.17.5 → 22.17.6

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -38,7 +38,7 @@
38
38
  * 18 rules for **Solid**
39
39
  * `import solidConfig from "@ethang/eslint-config/config.solid.js";`
40
40
  * 18 rules from [eslint-plugin-solid](https://github.com/solidjs-community/eslint-plugin-solid)
41
- * 16 rules from **Storybook**
41
+ * 16 rules for **Storybook**
42
42
  * `import storybookConfig from "@ethang/eslint-config/config.storybook.js";`
43
43
  * 16 rules from [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook)
44
44
  * 6 rules for **Tailwind**
@@ -60,6 +60,7 @@ In **eslint.config.ts**
60
60
  ```js
61
61
  import config from "@ethang/eslint-config/eslint.config.js";
62
62
  import tseslint from "typescript-eslint";
63
+ import path from "node:path";
63
64
  import reactConfig from "@ethang/eslint-config/config.react.js"; // OPTIONAL
64
65
  import tailwindConfig from "@ethang/eslint-config/config.tailwind.js"; // OPTIONAL
65
66
 
@@ -69,7 +70,7 @@ export default tseslint.config(
69
70
  },
70
71
  ...config,
71
72
  ...reactConfig,
72
- ...tailwindConfig("/path/to/index.css"),
73
+ ...tailwindConfig(path.join(import.meta.dirname, "src", "index.css")),
73
74
  {
74
75
  languageOptions: {
75
76
  parserOptions: {
package/package.json CHANGED
@@ -11,15 +11,15 @@
11
11
  "@cspell/eslint-plugin": "^9.2.0",
12
12
  "@eslint-react/eslint-plugin": "^1.52.3",
13
13
  "@eslint/css": "0.10.0",
14
- "@eslint/js": "^9.31.0",
14
+ "@eslint/js": "^9.32.0",
15
15
  "@eslint/json": "^0.13.1",
16
16
  "@eslint/markdown": "^7.1.0",
17
- "@html-eslint/eslint-plugin": "^0.43.0",
17
+ "@html-eslint/eslint-plugin": "^0.43.1",
18
18
  "@tanstack/eslint-plugin-query": "^5.81.2",
19
19
  "@tanstack/eslint-plugin-router": "^1.129.7",
20
20
  "@typescript-eslint/parser": "^8.38.0",
21
21
  "angular-eslint": "20.1.1",
22
- "eslint": "^9.31.0",
22
+ "eslint": "^9.32.0",
23
23
  "eslint-config-prettier": "^10.1.8",
24
24
  "eslint-plugin-astro": "^1.3.1",
25
25
  "eslint-plugin-compat": "^6.0.2",
@@ -47,7 +47,7 @@
47
47
  "lodash": "^4.17.21",
48
48
  "tailwindcss": "^4.1.11",
49
49
  "typescript": "^5.8.3",
50
- "zod": "^4.0.5"
50
+ "zod": "^4.0.10"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=22"
@@ -58,10 +58,10 @@
58
58
  "repository": {
59
59
  "url": "git+https://github.com/eglove/ethang-monorepo.git#master"
60
60
  },
61
+ "type": "module",
62
+ "version": "22.17.6",
61
63
  "scripts": {
62
64
  "build": "bun build.ts && pnpm lint",
63
65
  "lint": "eslint . --fix && prettier src --write"
64
- },
65
- "type": "module",
66
- "version": "22.17.5"
67
- }
66
+ }
67
+ }