Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify lintFiles #583

Merged
merged 7 commits into from Aug 6, 2021
Merged

Simplify lintFiles #583

merged 7 commits into from Aug 6, 2021

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 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.

None yet

2 participants