@chanyuxi/eslint-waltz 0.0.0 → 0.1.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 +11 -1
- package/dist/cli.js +1537 -0
- package/package.json +23 -14
package/README.md
CHANGED
|
@@ -57,4 +57,14 @@ export default waltz({}, {
|
|
|
57
57
|
})
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Run `pnpm run check` before committing. `pnpm pack` and `npm publish` build the package automatically through the `prepack` lifecycle.
|
|
60
|
+
Run `pnpm run check` before committing. `pnpm pack` and `npm publish` build the package automatically through the `prepack` lifecycle.
|
|
61
|
+
|
|
62
|
+
#### VS Code synchronization
|
|
63
|
+
|
|
64
|
+
After installing the package, run this command from your project root:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
npx eslint-waltz sync-vscode
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
It creates or updates `.vscode/settings.json` with ESLint fix-on-save settings while preserving other settings and JSONC comments.
|