The ESLint and Prettier config that we use internally.
- Add dependencies:
yarn add --dev eslint babel-eslint eslint-config-aux eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-prettier
- Create
.eslintrc
at./
and add:
{
"extends": "aux"
}
- Clone the project:
git clone https://github.com/AuxStudio/eslint-config-aux
- Do some work.
- Create a PR.
- Login to npm
npm login
- Run the publish script.
npm publish