The ESLint configs set that we use in our projects. It's primarily based on Airbnb's configs, with some rule overrides.
To install, run:
yarn add eslint-config-ichef --dev
You also need to include the following peer dependencies:
babel-eslint
eslint-plugin-react-hooks
eslint-plugin-unicorn
eslint-plugin-filenames
-
eslint-config-airbnb
(and also peer dependencies for this)
yarn add eslint-plugin-react-hooks eslint-plugin-unicorn eslint-config-airbnb eslint-plugin-filenames --dev
Just clone this repository, update index.js
and submit a pull request.
Create a release on Github, tag it with format of 5.1.0
. A Github action will be triggered automatically to publish this config to npm.