-
-
Notifications
You must be signed in to change notification settings - Fork 763
feat(linter/eslint-plugin-vitest): Implemented vitest/warn-todo rule #17228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
CodSpeed Performance ReportMerging #17228 will not alter performanceComparing Summary
Footnotes
|
connorshea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation suggestions :)
ed208c3 to
f7becef
Compare
| fn run_once(&self, ctx: &LintContext) { | ||
| let mut possibles_jest_nodes = collect_possible_jest_call_node(ctx); | ||
| possibles_jest_nodes.sort_unstable_by_key(|n| n.node.id()); | ||
|
|
||
| for possible_jest_node in &possibles_jest_nodes { | ||
| WarnTodo::run(possible_jest_node, ctx); | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can use run_on_jest_node rather than manually collecting the calls here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to use run_on_jest_node
99936dd to
922b59d
Compare
Co-authored-by: Connor Shea <[email protected]> Signed-off-by: Said Atrahouch <[email protected]>
…nd update snpashots
922b59d to
3a908e7
Compare
Related to #4656
Implement
warn-todovitest rule