ESLint config for TypeScript React projects 🐄
To install this package only need to execute in your project
npm install --save-dev @cowcoders/eslint-config-ts
Or if you prefer yarn...
yarn add -D @cowcoders/eslint-config-ts
Install depencencies
npm i --save-dev eslint @cowcoders/eslint-config-base @cowcoders/eslint-config-ts @typescript-eslint/eslint-plugin @typescript-eslint/parser confusing-browser-globals eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks
To usage this eslint configuration you only need to add it in your eslintrc file like this:
module.exports = {
extends: '@cowcoders/eslint-config-ts'
}
MIT