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

chore(syntax-highlight): accept -nolint suffix for all syntax languages #8112

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

queengooborg
Copy link
Collaborator

This PR updates the syntax highlighting so that any language we have loaded may be appended with the -nolint suffix, instead of having to manually add them in for each language.

Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

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

Good idea, but we should still maintain the ALIASES for sh/shell, unless that's not used anywhere anymore.

build/syntax-highlight.ts Outdated Show resolved Hide resolved
@caugner caugner marked this pull request as draft February 2, 2023 19:09
@caugner caugner marked this pull request as ready for review February 7, 2023 10:01
@caugner caugner changed the title Accept -nolint suffix for all syntax languages chore(syntax-highlight): accept -nolint suffix for all syntax languages Feb 7, 2023
@caugner caugner merged commit ca42266 into mdn:main Feb 7, 2023
@queengooborg queengooborg deleted the syntax/nolint branch February 8, 2023 04:16
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