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

fix: linting check on azure/appveyor #9781

Merged
merged 7 commits into from
Nov 7, 2018
Merged

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Nov 7, 2018

seems like current (bit whacky) patterns don't play nice on windows for some reason, let's try different ones

note - there is currently unrelated lint error in www so linting should fail - but it should have 1 error instead of thousands of errors on azure/appveyor - with this #9780 should be clear

@pieh pieh force-pushed the fix-ignore-patterns branch from 4d79258 to cb3e7bc Compare November 7, 2018 17:32
Copy link
Contributor

@DSchau DSchau left a comment

Choose a reason for hiding this comment

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

👍 with questions

packages/**/*.js
!packages/gatsby/cache-dir/**/*.js
!packages/*/src/**/*.js
packages/gatsby/cache-dir/commonjs/**/*.js
Copy link
Contributor

Choose a reason for hiding this comment

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

ugh, this sucks :( necessarily evil I suppose.

@@ -1,3 +1,4 @@
**/*.js.snap text eol=lf
**/__testfixtures__/** text eol=lf
**/__tests__/fixtures/** text eol=lf
**/*.md text eol=lf
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks good; was there a reason we didn't just add this for all files?

@pieh pieh merged commit e2fdb87 into gatsbyjs:master Nov 7, 2018
@pieh pieh deleted the fix-ignore-patterns branch November 7, 2018 23:06
gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
seems like current (bit whacky) patterns don't play nice on windows for some reason, let's try different ones

note - there is currently unrelated lint error in `www` so linting should fail - but it should have 1 error instead of thousands of errors on azure/appveyor - with this gatsbyjs#9780 should be clear
@pieh pieh restored the fix-ignore-patterns branch May 17, 2020 20:45
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