This is my base personal ESLint configuration.
npx install-peerdeps --dev --yarn @wkovacs64/eslint-config
Drop the
--yarn
when usingnpm
.
Extend in your .eslintrc.js
:
module.exports = {
extends: ['@wkovacs64/eslint-config'],
};
- React: @wkovacs64/eslint-config-react
- TypeScript: @wkovacs64/eslint-config-ts
- TypeScript and React: @wkovacs64/eslint-config-ts-react