1.0.0 • Published 3 years ago
@kayooliveira/eslint-plugin v1.0.0
Kayooliveira ESLint plugin
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
- Import Resolver Plugin;
- TailwindCSS Plugin;
Setup
- Install the dependencies
npm i -D eslint @kayooliveira/eslint-plugin- Create a
.eslintrc.jsonfile extending the plugin:
{
"extends": "@kayooliveira/eslint-plugin/react"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.If you using NextJS, you need to install the '@next/eslint-plugin-next' plugin and add it to the extends array like this:
{ "extends": [ "@kayooliveira/eslint-plugin/react", "plugin:@next/next/recommended" ] }Feel free to open an issue if you have any problem.
License
MIT
1.0.0
3 years ago