You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea of sanitizing todos is for developers to leave TODO comments and have them all resolved or downgraded to FIXME
such that we never forget about the things we need to do until the pull request is merged.
The idea isn't new, in fact, I've just stolen it from rust-analyzer. The implementation is quite trivial. Here it is.
Though I would go for a more robust solution that uses rustc-ap-rustc_lexer crate for proper parsing.
The sanitizer is intended to be run as part of xtask crate tests.
The text was updated successfully, but these errors were encountered:
Veetaha
changed the title
TODOs pre-commit santizer
TODOs pre-commit sanitizer
Sep 1, 2020
Veetaha
changed the title
TODOs pre-commit sanitizer
TODOs sanitizer
Sep 1, 2020
The idea of sanitizing todos is for developers to leave TODO comments and have them all resolved or downgraded to FIXME
such that we never forget about the things we need to do until the pull request is merged.
The idea isn't new, in fact, I've just stolen it from
rust-analyzer
. The implementation is quite trivial. Here it is.Though I would go for a more robust solution that uses
rustc-ap-rustc_lexer
crate for proper parsing.The sanitizer is intended to be run as part of
xtask
crate tests.The text was updated successfully, but these errors were encountered: