Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] feat: add whitelist of rules directives can be used to disable
WIP: This is not yet a complete list. If you routinely need to disable rules for valid reasons, add your rules here along with a justification! This changeset adds a whitelist of list of rules that can be disabled by eslint directives (e.g. `/* eslint-disable rule-name-here */`). As a starting point, no rules can be disabled via directives. A few exceptions have been added to the list. We should aim to keep this list as short as possible. Developers can still disable rules by modifying their project's ESLint configuration, which is much easier to catch in review because new features and bugfixes generally shouldn't require lint configuration changes. (A nice side effect that can fall out of this is that restricting where we can make lint configuration changes will allow us to do things like set up `policy-bot` rules that require additional approvals when a PR modifies a lint configuration to help us make sure we upstream lint configuration changes into the common lint config.)
- Loading branch information