]> git.proxmox.com Git - pve-eslint.git/blame - eslint/docs/README.md
import 8.23.1 source
[pve-eslint.git] / eslint / docs / README.md
CommitLineData
8f9d1d4d 1# ESLint Documentation
eb39fafa 2
8f9d1d4d 3## Run Locally
eb39fafa 4
8f9d1d4d
DC
5```shell
6npm start
7```
eb39fafa 8
8f9d1d4d 9## Scripts
eb39fafa 10
8f9d1d4d 11To update the links data file, run this from the root folder (not the `docs` folder):
eb39fafa 12
8f9d1d4d
DC
13```shell
14npm run docs:update-links
15```
eb39fafa 16
8f9d1d4d 17To lint JS files, run this from the root folder (not the `docs` folder):
eb39fafa 18
8f9d1d4d
DC
19```shell
20npm run lint:docsjs
21```
22
23To autofix JS files, run this from the root folder (not the `docs` folder):
24
25```shell
26npm run fix:docsjs
27```