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

Add new rule for detecting CSS comments #235

Open
scripthunter7 opened this issue Dec 23, 2024 · 0 comments
Open

Add new rule for detecting CSS comments #235

scripthunter7 opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels

Comments

@scripthunter7
Copy link
Member

scripthunter7 commented Dec 23, 2024

e.g.

#$#body { padding: 0; /* foo */ }
##.ad /* bar */

Suggested rule name: no-css-comments

Can be autofixed

Note:

By default, AGTree is tolerant and will parse these rules. However, we should throw an error for such rules.

Additionally, the extension will discard them too.

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

No branches or pull requests

3 participants