@1f8/eslint-config-react
v1.2.0
Published
1F8 ReactJS Linter
Downloads
13
Readme
ESlint Setup for 1F8
Helps you with styling your code. Don't believe there's any correct way, but this way fits our style.
Instructions
# Gatsby
yarn add -D @1f8/eslint-config-react
cp node_modules/@1f8/eslint-config-react/.eslintignore .eslintignore
# React
cp node_modules/@1f8/eslint-config-react/.eslintignore .eslintignore
npx install-peerdeps -D @1f8/eslint-config-react
touch .eslintrc
/** .eslintrc */
{
"extends": ["@1f8/eslint-config-react"]
}
Debug
- If you have any typescript files that isn't being ignored, an error will be thrown if you dont have a typescript linter