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

Rule no-misspelled-properties not working for -webkit-touch-callout #1024

Closed
bastienmoulia opened this issue Feb 23, 2017 · 0 comments · Fixed by #1106
Closed

Rule no-misspelled-properties not working for -webkit-touch-callout #1024

bastienmoulia opened this issue Feb 23, 2017 · 0 comments · Fixed by #1106

Comments

@bastienmoulia
Copy link

bastienmoulia commented Feb 23, 2017

When I use the properties -webkit-touch-callout i got a warning.

.my-class {
  -webkit-touch-callout: none;
}
warning  Property `touch-callout` appears to be spelled incorrectly                 no-misspelled-properties

It seems that the rule no-misspelled-properties remove the -webkit- prefix and there is no touch-callout in the properties.yml.

A quick fix is to add touch-callout in the extra-properties option in the .sass-lint.yml file:

 no-misspelled-properties:
    - 1
    - extra-properties: ["touch-callout"]

But for long term, the rule should check for -webkit-touch-callout and this should be in the properties.yml list because touch-callout is not standard.

Using:

  • Sass-lint 1.10.2
  • Visual Studio Code 1.9.1
  • VSCode plugin Sass Lint 0.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants