pve-eslint/eslint/docs
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
..
src import 8.41.0 source 2023-05-24 18:51:55 +02:00
tools import 8.41.0 source 2023-05-24 18:51:55 +02:00
.eleventy.js import 8.41.0 source 2023-05-24 18:51:55 +02:00
.stylelintrc.json import 8.41.0 source 2023-05-24 18:51:55 +02:00
package.json import 8.41.0 source 2023-05-24 18:51:55 +02:00
postcss.config.js import 8.41.0 source 2023-05-24 18:51:55 +02:00
README.md import 8.41.0 source 2023-05-24 18:51:55 +02:00

ESLint Documentation

Install Dependencies

Install the necessary dependencies for the documentation site by running this from the docs folder:

npm install

Run Locally

Run this from the docs folder:

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):

npm run docs:update-links

To lint JS files, run this from the root folder (not the docs folder):

npm run lint:docsjs

To autofix JS files, run this from the root folder (not the docs folder):

npm run fix:docsjs

License

© OpenJS Foundation and ESLint contributors, www.openjsf.org. Content licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.