ESLint Shareable Config for TypeScript
npm:
npm i -D @rollupjs/eslint-config-typescript
Yarn:
yarn add -D @rollupjs/eslint-config-typescript
Add @rollupjs/eslint-config-typescript
to extends
of your ESLint config.
module.exports = {
extends: [
'@rollupjs/eslint-config-typescript'
// add other rulesets here if needed
],
rules: {
// override/add rules settings here if needed
}
}