ESLint config for StartupJS projects
yarn add -D eslint eslint-config-startupjs
Create .eslintrc.json
config file in the project root:
{
"extends": ["startupjs"]
}
If you are using TypeScript in your project, make sure you have it in your devDependencies
, or install it with:
yarn add -D typescript
Install ESLint plugin and restart VS Code
MIT