This package provides gjv's base Typescript .eslintrc (without React plugins) as an extensible shared config.
Inspired by Airbnb's Javascript Styleguide
Our default export contains all of our ESLint rules, including ECMAScript 6+.
- Install the correct versions of each peer dependency, which are listed by the command:
npm info "@gjv/eslint-config-typescript" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev @gjv/eslint-config-typescript
- Add
"extends": "@gjv/eslint-config-typescript"
to your .eslintrc.