pve-eslint/eslint/docs/README.md
Dominik Csapak f2a92ac62f import 8.41.0 source
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-05-24 18:51:55 +02:00

46 lines
974 B
Markdown

# ESLint Documentation
## Install Dependencies
Install the necessary dependencies for the documentation site by running this
from the `docs` folder:
```shell
npm install
```
## Run Locally
Run this from the `docs` folder:
```shell
npm start
```
Once the script finishes building the documentation site, you can visit it at
<http://localhost:2023>.
## Scripts
To update the links data file, run this from the root folder (not the `docs` folder):
```shell
npm run docs:update-links
```
To lint JS files, run this from the root folder (not the `docs` folder):
```shell
npm run lint:docsjs
```
To autofix JS files, run this from the root folder (not the `docs` folder):
```shell
npm run fix:docsjs
```
## License
© OpenJS Foundation and ESLint contributors, [www.openjsf.org](https://www.openjsf.org/). Content licensed under [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).