Open
Description
When specifying an overrides
section in the xo config in package.json, any file globbing patterns or paths will never match.
When xo runs, it is setting the cwd
to be the parent directory of the file being linted, rather than the parent directory of the package.json
file that it found the xo config in so when optionsManager.findApplicableOverrides( ... )
is called, it will never return anything.
I did note that one can apparently set the chdir
setting in SublimeLinter itself to be the project's root ("chdir": "${project}"
) however that hasn't made any difference to my problem.
Could it be that the xo linter is ignoring the chdir
setting?
Metadata
Assignees
Labels
No labels
Activity