@doc.ai/eslint-config-standards
A set of rules used at doc.ai for internal purposes.
- Change to the base directory of your package.
- Run:
yarn add --dev @doc.ai/eslint-config-standards
- Open your
.eslintrc.yml
file - Add the following:
extends:
# Use this for a light set of rules
- "@doc.ai/eslint-config-standards"
# Use this for extended set of rules
- "@doc.ai/eslint-config-standards/full"
# Use this when you have flow aboard
- "@doc.ai/eslint-config-standards/with-flow"
And you're done!