2.2.1 • Published 3 years ago
@tomcarter17/eslint-config-typescript-react v2.2.1
@tomcarter17/eslint-config-typescript-react
A very lightweight ESLint configuration that I use in my React based projects.
Note that the Create React App config is not extended in this particular package, for flexibility with other React based frameworks, e.g. Nextjs or Gatsby.
Installation
Simply install through your preferred package manager:
npm install -D @tomcarter17/eslint-config-typescript-react
or
yarn add -D @tomcarter17/eslint-config-typescript-react
Usage
Usage is very straightforward, just extend from within the extends
key in either package.json
or .eslintrc.*
:
"extends": [
"@tomcarter17/eslint-config-typescript-react",
]
The package is currently quite primitive and mostly extends recommended configs from other packages, but will be enhanced in time.