-
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are a few problems with the ESLint script. First, the `--quiet` option (which is supposed to only show errors) doesn't work. That's not a big deal, we can fix this easily. Second, the thresholds file is updated if there are regressions (i.e. any rules that have more violations than a previous run of `eslint`). That's not right; we should update the thresholds file if we've seen improvements (all rules have the same or a fewer number of violations). More importantly, however, the script doesn't exit with 1 if there are any lint violations. This is a big problem because it means that even if a PR introduces violations, CI will pass. In fact, some violations have slipped into the codebase in a recent commit. So that we can get this PR approved without requiring other teams, this commit disables those rules globally, and we will re-enable them in another commit.
- Loading branch information
Showing
3 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters