I built this lint rule:
---
level: error
---
# Disallow "Kitchen sink"-filenames
Use specific filenames (avoid "Kitchen sink"-filenames)
`` `grit
language js
file($name, $body) where {
$name <: includes r"(util|component|hook|help|helper)[s]?\..*$"($n),
}
`` `
Which for some reason only works if the file its checking have some content...
I'm only matching on filename so it feels like a bug that it skips empty files.