Shared ESLint Rules
$ npm i @gaincompliance/eslint-config-gain -D
Extend the rulesets contained in this config to stay in sync with our conventions. Override any conflicting rules in your local config, but consider contributing them back to this config if we should align to that rule, too.
In your base
.eslintrc, extend the
Since ESLint traverses the file system looking for
.eslintrc files in each directory, you can add additional config
files where you use a specific convention beyond the base.