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

Use built-in github annotation output for stylelint #30165

Merged

Conversation

mjankowski
Copy link
Contributor

Recent runs are showing the deprecated node version warning - https://github.com/mastodon/mastodon/actions/runs/8930704927 - and it looks like the current tool is no longer maintained? xt0rted/stylelint-problem-matcher#461 - but stylelint has a built-in github formatter - stylelint/stylelint#6150 - and we can use that directly instead.

(Including an intentional CSS error in this PR to watch and see it run correctly and add annotations...)

@mjankowski
Copy link
Contributor Author

Looks like annotation was added correctly - https://github.com/mastodon/mastodon/pull/30165/files#diff-06774996d17ab60d2e8f656c3a88a4ed22274a7af2c13ea0a910f786d07d132bR13 - will leave that error in place for now.

If we want to merge, I'll remove.

ClearlyClaire
ClearlyClaire previously approved these changes May 3, 2024
@mjankowski
Copy link
Contributor Author

Removed the error-only commit, now just the config change.

@ClearlyClaire ClearlyClaire added this pull request to the merge queue May 3, 2024
Merged via the queue into mastodon:main with commit b790222 May 3, 2024
27 checks passed
@mjankowski mjankowski deleted the stylelint-github-annotations branch May 3, 2024 15:38
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