eslint-config-typescript-react-pro-beautiful v1.2.1
This config is:
- ✅ No meaningless rules.
- ✅ Only extend
eslint-plugin-jsx-a11y:recommendfor UX, there is no hidden rules applying. - ✅ Include all dependency package.(except
eslint-prettier-plugin)
Installation
This module is distributed via npm which is bundled with node and
should be installed as one of your project's devDependencies:
npm install --save-dev eslint-config-typescript-react-pro-beautiful eslint-plugin-prettieror using yarn
yarn add -D eslint-config-typescript-react-pro-beautiful eslint-plugin-prettierAnd install Typescript if you have not installed Typescript.
Because This package has a peerDependencies for TypeScirpt.^1
npm install --save-dev typescriptor using yarn
yarn add -D typescriptUsage
Add the extends to your .eslintrc.js or .eslintrc.json or .eslintrc:
{
"extends": "typescript-react-pro-beautiful"
}And need .prettierrc file because this package refers your .prettierrc and use directly.
If you don't have .prettierrc, please touch .prettierrc and set prettier rules depends on your preferece like this.
{
"singleQuote": true,
"semi": false
}LICENSE
MIT
^1: The same thing The same thing can be said for React. General install guide skiped because author assumed almost peaople who trying getting start the library are already installed React and developing React application.)