Closed drwpow closed 2 months ago
Latest commit: c1f066d78ade72a7dd2afac093e44ecac0cf6281
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Latest commit: |
c1f066d
|
Status: | ✅ Deploy successful! |
Preview URL: | https://7190a6e6.cobalt-ui.pages.dev |
Branch Preview URL: | https://biome-changed.cobalt-ui.pages.dev |
Changes
Tries out lint ratcheting with
--changed
. It’s a neat idea, turning CI from erring on all failures, to only failing on regressions. The reason you’d want to catch regressions is the default settings often discourage tightening lint rules because whoever changes the lint rule has to change the entire codebase (even sometimes requiring code refactoring).But with
--changed
, lint rules can be enforced from a certain point onward, and catch new regressions while letting you slowly chip away at the existing issues over time. It’s the best of both worlds—it encourages increasingly-tightening your linting, without punishing you for existing violations in a working codebase.How to Review