POC to test eslint + prettier. Using Open api kitsu.
clone the project and run the command below.
npm install
As I used vscode you need to install both ESLint
and Prettier - Code formatter
in the extensions.
Create a file at the root of the project with the name .env
.env var | value |
---|---|
HOST | https://kitsu.io/api/edge/ |
commands | tests that are going to run |
---|---|
npm test |
runs the only test |
npm run lint |
runs the lint |