-
-
Notifications
You must be signed in to change notification settings - Fork 930
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
Fix false positives for style attributes in no-missing-end-of-source-newline #3410
Comments
@trollepierre Thanks for the report and for using the template. As a way of an explanation... Historically, there has been a 1 to 1 mapping with what we call a "source" and a file on the file system. This assumption is no longer valid with the introduction of syntaxes that extract multiple sources from within files e.g. from It's the responsibility of the user to configure stylelint accordingly. Turning on only rules that are applicable to the syntaxes they are linting. The introduction of an @trollepierre Sorry about the unexpected change in behaviour. It was an unintended side effect of our ongoing work to support linting CSS within things like
It feels like the need for a |
Since version 9.3.0 (not in version 9.2.1), the rule 'no-missing-end-of-source-newline' is provoking strange behavior in my code.
becomes
no-missing-end-of-source-newline
nothing particular
I was in 9.2.1. I pass in 9.3.0
e.g. "CLI with
stylelint src/**/*.vue src/**/*.css src/**/*.scss
"in Vue component
"No problem to be flagged and no autofix ."
The text was updated successfully, but these errors were encountered: