Largely based on eslint-config-airbnb-base, with some minor modifications.
Also includes:
- eslint-plugin-jest (with its recommended config)
- eslint-plugin-jest-formatting (with its recommended config)
- eslint-plugin-prettier (with its recommended config)
For a list of the rules/configuration in use, see index.js
.
-
Make sure your project is configured to use the GitHub Package Registry
-
Install this package along with
eslint
andprettier
:npm install --save-dev @goproperly/eslint-config-properly-base eslint prettier
-
Extend this config in your project's ESLint configuration:
{ "extends": ["@goproperly/eslint-config-properly-base"] }