Clone this repo, navigate to the project folder in a terminal and type:
npm install
Setup your editor or IDE:
- enable .editorconfig support
- enable correct JavaScript and Node versions (defined in package.json)
- enable ESLint support
.editorconfig: by default supported in Webstorm. Check out this page to find out how to enable .editorconfig in your favourite tool: http://editorconfig.org/
JavaScript & Node: if necessary, select ECMAScript 6 or equivalent for JavaScript. Select the correct Node version to be used (see package.json) in your editor or IDE. In Webstorm, you will find it in Settings -> Languages & frameworks.
// Example: look for this section in the package.json file
"engines": {
"node": ">=10.15.3"
}
ESLint: a code quality tool that analyzes code to find problematic patterns, also making sure code follows style guidelines (see the Style guide section).
This project is using the AirBnb JavaScript style guide as described here:
https://github.com/airbnb/javascript#airbnb-javascript-style-guide-