Skip to content

cowcoders/eslint-config-tsreact

Repository files navigation

@cowcoders/eslint-config-tsreacr

ESLint config for TypeScript React projects 🐄


Installation

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 

Usage

To usage this eslint configuration you only need to add it in your eslintrc file like this:

module.exports = {
  extends: '@cowcoders/eslint-config-ts'
}

LICENSE

MIT