0.0.2 • Published 5 years ago
eslint-config-chiedo-labs-nextjs v0.0.2
React ESLint Config for Next.js
This is the Chiedo Labs eslint configuration file for React.JS projects using Next.js It extends Chiedo Labs' React ESLint Config, which is based on the Airbnb eslint config.
This config only has minor changes from Chiedo Labs' React config.
Installation
Install this eslint config on npm by running
yarn add --dev eslint eslint-config-chiedo-labs-nextjs eslint-config-chiedo-labs-react eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y
Add to your project by creating an .eslintrc
file and then setting the contents to the following.
{
"extends": "eslint-config-chiedo-labs-nextjs"
}
Update package.json
to always download latest version of Chiedo Labs eslint config:
"eslint-config-chiedo-labs-nextjs": "latest",
Development
- Make a change
- Commit your changes to git and push your changes to a branch on Github.
- Submit a pull request
Deployment (For those with access)
- run npm login in the terminal
- run npm version patch
- run npm publish