Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 536 Bytes

CONTRIBUTING.md

File metadata and controls

31 lines (16 loc) · 536 Bytes

Contributing

Use these tools when developing.

Formatting

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/.

Linting

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