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

sanctuary-style@4.0.x #38

Merged
merged 1 commit into from
Jan 3, 2020
Merged

sanctuary-style@4.0.x #38

merged 1 commit into from
Jan 3, 2020

Conversation

davidchambers
Copy link
Member

@@ -19,6 +19,7 @@ fi

run check-required-files
node_modules/.bin/eslint \
--no-error-on-unmatched-pattern \
--report-unused-disable-directives \
-- "${files[@]}" '*.{js,mjs}' 'test/**/*.{js,mjs}'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By specifying --no-error-on-unmatched-pattern it is no longer necessary for each of these globs to match at least one file. In the past I have resorted to creating empty files in projects without tests.

@davidchambers davidchambers merged commit 8eb787a into master Jan 3, 2020
@davidchambers davidchambers deleted the davidchambers/style branch January 3, 2020 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant