- Typescript ready
- Extends standard
- Single quotes, semi
- Sensible defaults, best practices
- One-line of config
- Install dependencies.
npm i -DE eslint @grozav/eslint-preset
- Create a new
.eslintrc.js
file and add the following:module.exports = { extends: '@grozav' }
- Add linting script to
package.json
:"lint": "eslint --ext .vue,.ts,.tsx,.js,.jsx src",
ISC