@doc.ai/eslint-config-standards
v1.0.5
Published
A set of rules used at doc.ai for internal purposes.
Downloads
5
Maintainers
Keywords
Readme
@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!