1.0.3 • Published 2 years ago
eslint-config-kang v1.0.3
ESLint Config
Package aims to quickly setup your eslint and prettier configs for your react project.
What it does?
It simply extends ESLint and Prettier with rules used at Rockstein. Check the .eslintrc.js file to see what is included. If you are using prettier you can copy config file as well.
Installing
- In your project folder, run:
yarn add --dev eslint-configure-rockstein
# please also install peerDependecy:
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/eslint-plugin-tslint @typescript-eslint/parser eslint eslint-plugin-functional eslint-plugin-import eslint-plugin-jsdoc eslint-plugin-jsx-a11y eslint-plugin-nested-if eslint-plugin-no-else eslint-plugin-no-loops eslint-plugin-prefer-arrow eslint-plugin-react eslint-plugin-react-hooks
- Create (or update) a
.eslintrc
file with the following content:
{
"extends": "kang"
}