Resolves lint options for a source file without reading the filesystem.
Plugin, rule, environment, and global names are strings, as in an oxlint config file.
Override globs are relative to the lint discovery root. Every matching override is applied in declaration order; later entries replace individual rules, environments and globals, not their entire maps. Environment lists enable names; environment maps can also disable inherited names.
Summary
Functions
Compiles a lint configuration, using the build root unless lint sets its own root.
Returns effective OXC syntax-lint options for the original source path.