I’m pretty sure Linter can do that in one of its menu …
(I think you can disable the automatic update of the keys and run a command instead when you want the plugin to lint your file)
I haven’t used Linter in a long while … but I used it for a similar use case for some time…