mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
f357c01c8c
MaintenanceRepository, DemoRepository and six seeders are exempt from the SQL string selectors as whole files, so new SQL text added to any of them passed lint unseen, and nothing noticed when a file no longer needed its exemption. The comment promised a list that can only shrink, but nothing held it to that. The selector test now works out which files under src/db/repositories and src/db/seeders the config really exempts and compares that set with a pinned table, then runs the SQL selectors over each exempt file's source and compares the hits with the count pinned for it (23 today). One more statement fails, one fewer asks for the pin to come down, and a file at zero has to leave the ignores. Per-line disables would have done the same job but add suppressions the codebase is meant to lose.