Linter
Properly deprecate the `Linter` enum in favor of the `LinterType` union type and remove unneeded internal usages.