- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
- Import plugin
- Import Helpers plugin
- Storybook plugin
- Next plugin
First, install it:
$ npm install --save-dev eslint @alquipo/eslint-config or
$ yarn add -D eslint @alquipo/eslint-config Add @alquipo/eslint-config to the extends section of your .eslintrc or package.json file.
{
"extends": "@alquipo/eslint-config/react"
}or
{
"scripts": {
"lint": "eslint"
},
"devDependencies": {
"eslint": "^8.25.0",
"@alquipo/eslint-config": "^1.0.1"
},
"eslintConfig": {
"extends": "@alquipo/eslint-config/react"
},
}{
"extends": "@alquipo/eslint-config/next"
}or
{
"scripts": {
"lint": "next lint"
},
"devDependencies": {
"eslint": "^8.25.0",
"@alquipo/eslint-config": "^1.0.1"
},
"eslintConfig": {
"extends": "@alquipo/eslint-config/next"
},
}- Make a fork;
- Create a new branch with your changes:
git checkout -b my-feature - Save the changes and create a commit message telling what you've done:
git commit -m "feature: My new feature" - Submit your changes:
git push origin my-feature
If you have any questions, check out this guide on how to contribute on GitHub
This project is MIT Licensed.
Made with ❤️ by Alquipo Neto 👋🏽 Contact!