mirror of
https://git.proxmox.com/git/pve-eslint
synced 2025-08-12 09:08:46 +00:00
|
||
---|---|---|
.. | ||
src | ||
tools | ||
.eleventy.js | ||
.stylelintrc.json | ||
package.json | ||
postcss.config.js | ||
README.md |
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.