@lntvow/eslint-config 9.30.2 → 9.30.3
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 -9
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
install @lntvow/eslint-config
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
pnpm install -D @lntvow/eslint-config
|
|
28
|
+
pnpm install -D @lntvow/eslint-config eslint
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
create `eslint.config.mjs` in your project root
|
|
@@ -50,11 +50,3 @@ Since flat config requires us to explicitly provide the plugin names (instead of
|
|
|
50
50
|
| `unicorn/*` | `unicorn/*` | [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) |
|
|
51
51
|
| `regexp/*` | `regexp/*` | [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) |
|
|
52
52
|
| `test/*` | `vitest/*` | [eslint-plugin-vitest](https://github.com/veritem/eslint-plugin-vitest) |
|
|
53
|
-
|
|
54
|
-
## Tips
|
|
55
|
-
|
|
56
|
-
- If the project is installed via `npm` or `yarn`, you can skip this tip.
|
|
57
|
-
- If you do not want to manually install `eslint` and other dependencies, and choose to use `pnpm` for installation, please note the following points:
|
|
58
|
-
- Due to the symbolic link feature of `pnpm` conflicting with the functionality of `eslint`, some packages must be hoisted to the root of `node_modules`.
|
|
59
|
-
- Create a `.npmrc` file in the root directory of the project and write `shamefully-hoist=true`. This command is used to hoist dependencies to the root of `node_modules`, then you can reinstall the dependencies.
|
|
60
|
-
- Alternatively, you can also choose to manually install `eslint` and other dependencies to the root of `node_modules`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lntvow/eslint-config",
|
|
3
|
-
"version": "9.30.
|
|
3
|
+
"version": "9.30.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Customizable eslint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -46,12 +46,11 @@
|
|
|
46
46
|
"local-pkg": "^1.1.1",
|
|
47
47
|
"typescript-eslint": "^8.39.0",
|
|
48
48
|
"vue-eslint-parser": "^9.4.3",
|
|
49
|
-
"@lntvow/eslint-plugin": "^9.30.
|
|
49
|
+
"@lntvow/eslint-plugin": "^9.30.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@commitlint/cli": "^19.8.1",
|
|
53
53
|
"@commitlint/config-conventional": "^19.8.1",
|
|
54
|
-
"@lntvow/eslint-config": "^9.30.1",
|
|
55
54
|
"@types/estree": "^1.0.8",
|
|
56
55
|
"@types/node": "^22.15.32",
|
|
57
56
|
"axios": "^1.11.0",
|
|
@@ -59,7 +58,6 @@
|
|
|
59
58
|
"cheerio": "1.1.2",
|
|
60
59
|
"commitizen": "^4.3.1",
|
|
61
60
|
"cz-conventional-changelog": "^3.3.0",
|
|
62
|
-
"eslint": "^9.32.0",
|
|
63
61
|
"eslint-typegen": "^2.3.0",
|
|
64
62
|
"lint-staged": "^16.1.4",
|
|
65
63
|
"node-cron": "^4.2.1",
|