We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
no-empty-source
Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?
A bug when lint CSS in HTML about no-empty-source
Which rule, if any, is this issue related to?
What CSS is needed to reproduce this issue?
html file without css. https://github.com/vuejs-templates/webpack/blob/master/template/index.html
What stylelint configuration is needed to reproduce this issue?
module.exports = { rules: { "no-empty-source": true, } }
Which version of stylelint are you using?
stylelint@8.0.0
How are you running stylelint: CLI, PostCSS plugin, Node API?
CLI with stylelint "**/*.{vue,html,css,sss,less,scss,sass}" --custom-syntax postcss-html
stylelint "**/*.{vue,html,css,sss,less,scss,sass}" --custom-syntax postcss-html
Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?
Yes, it's related to HTML.
What did you expect to happen?
No warnings to be flagged.
What actually happened (e.g. what warnings or errors you are getting)?
The following warnings were flagged:
index.html 35:1 × Unexpected empty source no-empty-source
The text was updated successfully, but these errors were encountered:
postcss-html
Successfully merging a pull request may close this issue.
A bug when lint CSS in HTML about
no-empty-source
no-empty-source
html file without css.
https://github.com/vuejs-templates/webpack/blob/master/template/index.html
stylelint@8.0.0
CLI with
stylelint "**/*.{vue,html,css,sss,less,scss,sass}" --custom-syntax postcss-html
Yes, it's related to HTML.
No warnings to be flagged.
The following warnings were flagged:
index.html 35:1 × Unexpected empty source no-empty-source
The text was updated successfully, but these errors were encountered: