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

Added stylelintignore for generated coverage files. #20097

Merged
merged 2 commits into from
Dec 7, 2022

Conversation

krishnaglick
Copy link
Contributor

Added stylelintignore for generated coverage files.

@krishnaglick krishnaglick requested a review from a team as a code owner December 5, 2022 20:57
Copy link
Contributor

@teallarson teallarson left a comment

Choose a reason for hiding this comment

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

confirmed that this does fix the local OSS build

Copy link
Contributor

@ambirdsall ambirdsall left a comment

Choose a reason for hiding this comment

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

Minor suggestions, but this improves our setup with no apparent downsides 🙌 ✨ 🚀 🎸

@@ -0,0 +1 @@
coverage/**/*.css
Copy link
Contributor

Choose a reason for hiding this comment

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

nit of all nits, but could you put a final newline in this file? .editorconfig is agnostic except for python files, where insert_final_newline = true is explicitly set, but our files nearly universally have them. Perhaps most importantly, though, is that I think github's big red "no final newline here" icon is kind of ugly 🤷 😅

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason to scope this specifically to *.css files? IIUC, everything in coverage/ is autogenerated, so why not ignore coverage/**/*?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used the inline editor, I think it got the newline

Copy link
Contributor

@ambirdsall ambirdsall left a comment

Choose a reason for hiding this comment

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

✨ 🎸 :shipit: 🎸 ✨

@krishnaglick krishnaglick merged commit 199d246 into master Dec 7, 2022
@krishnaglick krishnaglick deleted the kc/ignore-coverage-folder-for-stylelint branch December 7, 2022 15:36
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.

3 participants