Shared ESLint Rules
$ npm i @gaincompliance/eslint-config-gain -D
UsageExtend 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.
BaseIn your base
.eslintrc, extend the
ExtensionSince ESLint traverses the file system looking for
.eslintrcfiles in each directory, you can add additional config files where you use a specific convention beyond the base.