You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 thepackage.json
file that it found the xo config in so whenoptionsManager.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?The text was updated successfully, but these errors were encountered: