@lemonbot.fun/eslint-config-react
v2.8.1
Published
The eslint config for personal
Downloads
185
Readme
lemonbot/eslint-config-react
Enhances Airbnb's ESLint config with TypeScript support
Setup
1) Install dependencies (and peer dependencies)
npm i eslint \
@lemonbot.fun/eslint-config-react \
@typescript-eslint/eslint-plugin@^7.0.0 \
@typescript-eslint/parser@^5.0.0 \
typescript \
-D
# eg: pnpm
pnpm add eslint \
@lemonbot.fun/eslint-config-react \
@typescript-eslint/eslint-plugin@^7.0.0 \
@typescript-eslint/parser@^5.0.0 \
typescript \
-D
#eg: yarn
yarn add eslint \
@lemonbot.fun/eslint-config-react \
@typescript-eslint/eslint-plugin@^7.0.0 \
@typescript-eslint/parser@^5.0.0 \
typescript \
--dev2) Configure ESLint
Within your ESLint config file:
extends: [
'@lemonbot.fun/eslint-config-react',
]Credits
Authored and maintained by Jason Chang (Lemonbot).
License
Open source licensed as MIT.
