Add a CI check for todo! and FIXME comments (#21950)

Motivation for this is to support writing comments that will certainly
be revisited before merge.

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2024-12-20 01:38:50 -07:00 committed by GitHub
parent e4493d60dc
commit f3fc4d6279
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 29 additions and 14 deletions

View file

@ -51,8 +51,8 @@ impl FileIcons {
pub fn get_icon(path: &Path, cx: &AppContext) -> Option<SharedString> {
let this = cx.try_global::<Self>()?;
// FIXME: Associate a type with the languages and have the file's language
// override these associations
// TODO: Associate a type with the languages and have the file's language
// override these associations
maybe!({
let suffix = path.icon_stem_or_suffix()?;