npm install
npm run dev // (or `npm run start` for production)
This prpject integrates specific configurations for ESLint and Prettier that will help us keep the styling of our code aligned with one another. Our goal should ideally be to have no lint errors by either fixing them all or disabling them only when necessary.
- Run
npm run lint
to see all the lint errors - Run
npm run fix
to automatically fix all auto-fixable errors
For people using VSCode, you can make things easy for yourself by updating your editor settings to automatically format the code correctly each time you save a file.
- After this PR is merged, run
npm install
- Download the Prettier VSCode plugin
- Open VSCode command menu with CMD + SHIFT + P
- Search "Preferences: Open Settings (UI)
- Search "Format on Save" and check the "format on save" option
- Next, search Experimental Decorator and check the corresponding option.