8000 Allow `StrictLocals` to be disabled by a comment by davidcornu · Pull Request #561 · sds/haml-lint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow StrictLocals to be disabled by a comment #561

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

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

davidcornu
Copy link
Contributor

Follow-up to #553.

Because StrictLocals operates on the root node, it ignores the potential presence of a haml-lint: disable comment on the first line which means it can't be disabled that way.

This is unfortunate as I've often found those comments to be a useful tool to allow gradual adoption of a new lint.

@sds sds merged commit 4eabb16 into sds:main Mar 20, 2025
35 checks passed
@sds sds added the bug label Mar 20, 2025
@davidcornu davidcornu deleted the strict-locals-comment branch March 20, 2025 16:04
@davidcornu
Copy link
Contributor Author

That was quick. Thanks @sds ❤️

@sds
Copy link
Owner
sds commented Mar 20, 2025

Released in 0.61.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0