@dhzh/eslint-config 2.1.0 → 2.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 +1 -1
- package/dist/cli/index.mjs +7 -8
- package/dist/index.d.mts +3984 -336
- package/dist/index.mjs +7 -10
- package/package.json +31 -19
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ An ESLint flat config preset for TypeScript-first projects with built-in support
|
|
|
18
18
|
| Unicorn | [src/configs/unicorn.ts](./src/configs/unicorn.ts) | [`eslint-plugin-unicorn`](https://www.npmjs.com/package/eslint-plugin-unicorn) |
|
|
19
19
|
| Imports | [src/configs/imports.ts](./src/configs/imports.ts) | [`eslint-plugin-import-x`](https://www.npmjs.com/package/eslint-plugin-import-x) [`eslint-plugin-unused-imports`](https://github.com/sweepline/eslint-plugin-unused-imports) [`eslint-plugin-simple-import-sort`](https://github.com/lydell/eslint-plugin-simple-import-sort) [`eslint-plugin-antfu`](https://github.com/antfu/eslint-plugin-antfu) |
|
|
20
20
|
| Format | [src/configs/format.ts](./src/configs/format.ts) | [`eslint-plugin-format`](https://www.npmjs.com/package/eslint-plugin-format) [`@prettier/plugin-xml`](https://www.npmjs.com/package/@prettier/plugin-xml) |
|
|
21
|
-
| Tailwind CSS | [src/configs/tailwindcss.ts](./src/configs/tailwindcss.ts) | [`eslint-plugin-tailwindcss`](https://github.com/
|
|
21
|
+
| Tailwind CSS | [src/configs/tailwindcss.ts](./src/configs/tailwindcss.ts) | [`eslint-plugin-better-tailwindcss`](https://github.com/schoero/eslint-plugin-better-tailwindcss) |
|
|
22
22
|
| UnoCSS | [src/configs/unocss.ts](./src/configs/unocss.ts) | [`@unocss/eslint-config`](https://unocss.dev/integrations/eslint) |
|
|
23
23
|
| YAML | [src/configs/yml.ts](./src/configs/yml.ts) | [`eslint-plugin-yml`](https://ota-meshi.github.io/eslint-plugin-yml/) |
|
|
24
24
|
| TOML | [src/configs/toml.ts](./src/configs/toml.ts) | [`eslint-plugin-toml`](https://www.npmjs.com/package/eslint-plugin-toml) [`toml-eslint-parser`](https://www.npmjs.com/package/toml-eslint-parser) |
|
package/dist/cli/index.mjs
CHANGED
|
@@ -6,21 +6,20 @@ import fsp from "node:fs/promises";
|
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
//#region package.json
|
|
9
|
-
var version = "2.
|
|
9
|
+
var version = "2.2.0";
|
|
10
10
|
var devDependencies = {
|
|
11
11
|
"@eslint/config-inspector": "^3.0.4",
|
|
12
12
|
"@prettier/plugin-xml": "^3.4.2",
|
|
13
|
-
"@types/
|
|
14
|
-
"@types
|
|
15
|
-
"@typescript-eslint/types": "^8.60.1",
|
|
13
|
+
"@types/node": "^24.13.2",
|
|
14
|
+
"@typescript-eslint/types": "^8.61.1",
|
|
16
15
|
"bumpp": "^11.1.0",
|
|
17
16
|
"bundle-require": "^5.1.0",
|
|
18
|
-
"eslint": "^10.
|
|
17
|
+
"eslint": "^10.5.0",
|
|
19
18
|
"eslint-typegen": "^2.3.1",
|
|
20
|
-
"lint-staged": "^17.0.
|
|
19
|
+
"lint-staged": "^17.0.8",
|
|
21
20
|
"simple-git-hooks": "^2.13.1",
|
|
22
|
-
"tailwindcss": "^4.3.
|
|
23
|
-
"tsdown": "^0.22.
|
|
21
|
+
"tailwindcss": "^4.3.1",
|
|
22
|
+
"tsdown": "^0.22.3",
|
|
24
23
|
"tsx": "^4.22.4",
|
|
25
24
|
"typescript": "^6.0.3"
|
|
26
25
|
};
|