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

feat: support to ignore linting <script> without specifying its type #249

Merged
merged 6 commits into from
Apr 8, 2024

Conversation

aleen42
Copy link
Contributor

@aleen42 aleen42 commented Oct 17, 2023

ref: #248

@aleen42 aleen42 changed the title feat: support to ignore linting <script> without specifying its type !248 feat: support to ignore linting <script> without specifying its type #248 Oct 17, 2023
@aleen42 aleen42 changed the title feat: support to ignore linting <script> without specifying its type #248 feat: support to ignore linting <script> without specifying its type Oct 17, 2023
Copy link
Owner

@BenoitZugmeyer BenoitZugmeyer left a comment

Choose a reason for hiding this comment

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

Script tags without type attribute should be considered as JavaScript code, so we want to lint it by default. Your change breaks this behavior.

If you have a good reason to skip script tags without type attribute, please add an opt-in setting to do so (ex: "html/ignore-tags-without-type": true).

@BenoitZugmeyer BenoitZugmeyer merged commit 893305b into BenoitZugmeyer:main Apr 8, 2024
12 checks passed
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