My recommended eslint rules for a TypeScript project.
npm install --save-dev @detachhead/eslint-config
Put in your .eslintrc.js
:
module.exports = {
extends: ['@detachhead/eslint-config'],
}
If you see (drink) errors about missing plugins, make sure all of the peerDependencies
are installed.
Also upvote this issue while you're at it.