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

Infrastructure: Use Stylelint GitHub Action matcher #3014

Merged
merged 1 commit into from
May 8, 2024

Conversation

nschonni
Copy link
Contributor

@nschonni nschonni commented May 3, 2024

Saw on a different repo that they've added their own built-in formatter. Could't just add npm run lint:css -f github because it confused Prettier, so just split the tasks in the CI config.

@nschonni nschonni force-pushed the stylelint-github-matcher branch from 06405ba to d12cac2 Compare May 3, 2024 17:38
@mcking65
Copy link
Contributor

mcking65 commented May 6, 2024

@nschonni

I don't know anything about the new commands. What are the reasons for and benefits of this diff?

@mcking65 mcking65 requested a review from howard-e May 6, 2024 05:42
@nschonni
Copy link
Contributor Author

nschonni commented May 6, 2024

Similar to the old extra problem matcher, it will show a comment on the Files tab of PRs when there are issues. The benefit of swapping out the current one, is that one supported by Stylelint directly, should be kept up to date if they change any of their output format. This doesn't affect you running anything locally

@howard-e howard-e added the Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation label May 7, 2024
Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

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

@nschonni thanks! Looks good to me

Could't just add npm run lint:css -f github because it confused Prettier, so just split the tasks in the CI config.

Was wondering why not do this, so thanks for sharing.

@nschonni
Copy link
Contributor Author

nschonni commented May 7, 2024

@howard-e feel free to pull the changes into your other Stylelint PR #2853 if you prefer

@howard-e howard-e merged commit e21ef7f into w3c:main May 8, 2024
3 checks passed
@nschonni nschonni deleted the stylelint-github-matcher branch May 8, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Related to maintaining task force and repo operations, processes, systems, documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants