React with TypeScript
Collection of ESLint (opens in a new tab) rules for React (opens in a new tab) with TypeScript (opens in a new tab).
Install
Package
$ yarn add @norr/eslint-config-eslint-react-typescript -D
Peer dependencies
$ yarn info @norr/eslint-config-eslint-react-typescript peerDependencies
Usage
module.exports = {
extends: ['@norr/eslint-react-typescript'],
};
Prettier
It extends Prettier (opens in a new tab) and is dependandent of @norr/prettier, so make sure to set it up as well.