A shareable ESLint config for projects using TypeScript.
npm i -D eslint@8 @supercharge/eslint-config-typescript
eslint |
@supercharge/eslint-config-typescript |
---|---|
8.x |
>=2.x |
7.x |
1.x |
Update your ESLint configuration file (for example the .eslintrc.js
file) and extend @supercharge/typescript
:
.eslintrc.js
module.exports = {
extends: '@supercharge/typescript'
}
- @supercharge/eslint-config - ESLint config for JavaScript projects