Btw, this exacerbates the problem that breaks the 'standalone' `CodeInspection.inspectFile()` API, used by extensions like my [full-project linter](https://github.com/peterflynn/lint-all-the-things) and @zaggino's [brackets-git extension](https://github.com/zaggino/brackets-git) -- linting settings for the currently open file are applied to every file linted with this API, even if that file actually has different settings associated with it.

Hopefully the API change we've been discussing for #6578 will land soon and this code can be changed to take advantage of that.