When xo is run from a project subfolder, it ignores the config in package.json.
This is regression introduced between 0.26.1 and 0.27.0 (likely in #416)
How to reproduce (see my SSCCE here):
foo/bar.js
file that uses spaces instead of tabspackage.json
) run:$ xo foo/bar.js
$ cd foo
$ xo bar.js
bar.js:2:1
✖ 2:1 Expected indentation of 1 tab but found 2 spaces. indent
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too