There is an interactive setup script that will help you setup and install dependencies correctly in your project. It will update the .eslintrc file as well.
yarn add --dev eslint-config-cicero # or npm i --save-dev eslint-config-cicero
./node_modules/.bin/cicero-lint-setup # Running this should set everything up for you.
One thing to note is that you probably want to use either cicero
or cicero/react
.
This is the base config, it should be used with all non-react projects. Most of these rules come from the airbnb base config.
This is the prettier config that is closes to our base config. Please use it ✌️
Use this if the project uses flowtypes. It has a few rules helpful to getting a consistent type usage and enabling default eslint rules for the types.
Our config for react projects, mostly based on the airbnb config.
Use this if the project uses regular lodash.
Use this if the project uses lodash-fp.
Use this if the project uses asynchronous code via promises.