This is just a cleanup in preparation for another plugin system prototype.
With this commit "Linter" is a struct that should be created only once and used
to lint many files, instead of creating a new instance for every single file.
The API was changed to "Linter::lint_file" that accepts a "LintFileOptions".
This is just a cleanup in preparation for another plugin system prototype.
With this commit "Linter" is a struct that should be created only once and used to lint many files, instead of creating a new instance for every single file.
The API was changed to "Linter::lint_file" that accepts a "LintFileOptions".