npm lint
- Run prettier and eslintnpm run lint-check
- Check for conflicts in eslint rules and prettier formattingnpm start -- -p 3000
- Starts app, optional flag to run on custom port e.g. port 3000. Otherwise, defaults to port 1234.
Use the prettier-vscode extension and add the follow to your workspace settings:
{
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"javascript.format.enable": false,
"prettier.eslintIntegration": true
}
Read more about how these settings play together here.