Use these tools when developing.
Navigate to project root.
cd path/to/project
Install the formatter prettier
from <prettier.io>.
npm install --save-dev --save-exact prettier
Run the formatter to format HTML, CSS, JavaScript and Markdown files.
npx prettier -w docs/.
Navigate to project root.
cd path/to/project
Install the linter ESLint
from <eslint.org>.
npm install eslint --save-dev
Run the linter to find errors in JavaScript code.
npx eslint docs