Skip to content

Conversation

@fisker
Copy link
Contributor

@fisker fisker commented Aug 6, 2021

This PR simplifies the lintFiles a lot, also changes how config is resolved, but tests are passing, and I ran it over some codebases, it seems works fine.

This also fixes a problem described here

There are some follow-up work can do, like DRY, use async api, I can send a separate PR after this get merged.

@fisker fisker force-pushed the simplify-lint-files branch from 228eed8 to 7e0bafd Compare August 6, 2021 06:24
@fisker fisker marked this pull request as ready for review August 6, 2021 06:49
@sindresorhus
Copy link
Member

Thanks for working on this 🙌

@sindresorhus
Copy link
Member

There are some follow-up work can do, like DRY, use async api, I can send a separate PR after this get merged.

That would be great 👍

@sindresorhus sindresorhus merged commit e2e715d into xojs:main Aug 6, 2021
@fisker fisker deleted the simplify-lint-files branch August 7, 2021 01:12
devinrhode2 added a commit to devinrhode2/xo that referenced this pull request Oct 8, 2021
devinrhode2 added a commit to devinrhode2/xo that referenced this pull request Oct 8, 2021
devinrhode2 added a commit to devinrhode2/xo that referenced this pull request Oct 15, 2021
devinrhode2 added a commit to devinrhode2/xo that referenced this pull request Oct 15, 2021
This reverts commit e2e715d.
+add in "is-path-inside" dep
+remove unused/moot dep "path-exists"
devinrhode2 pushed a commit to devinrhode2/xo that referenced this pull request Oct 15, 2021
+Refactor (xojs#585)
+Correctly use `ignores` config, Lint `xo` with `xo` (xojs#584)
+Simplify `lintFiles` (xojs#583)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants