@dantruyen/eslint-config-react
v1.1.0
Published
ESLint Configuration for Dan Truyen React App.
Downloads
9
Readme
@dantruyen/eslint-config-react
This package includes ESLint configuration for Dan Truyen React App. The configuration extends of eslint-config-react-app with some opinionated settings.
This config enforce users using TypeScript and Prettier, also use alias @
for internal modules.
Usage
First, install this package, ESLint and the necessary plugins.
npm install --save-dev @dantruyen/eslint-config-react eslint-config-react-app @typescript-eslint/[email protected] @typescript-eslint/[email protected] [email protected] eslint [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Then create a file named .eslintrc.json
with following contents in the root folder of your project:
{
"extends": "@dantruyen/eslint-config-react"
}