Gradually implement a rule #14092
Unanswered
jamesmstone
asked this question in
Q&A
Replies: 1 comment 4 replies
-
While ESLint won't support this complex feature, you can write a script to achieve this by calling ESLint API, so you can filter warnings and errors according to a certain date or commit. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to gradually more a rule from "warn" to "error"
For example, when working with a large code base it would be nice to add a rule and only have it apply for files that have been modified after a certain date (or certain commit). So all old files won't cause an error, but rules that would error in new files (or old files that have been changed since this date) do break the build.
Beta Was this translation helpful? Give feedback.
All reactions