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

no-misspelled-properties is incorrectly failing on '-moz-osx-font-smoothing' #606

Closed
nmcclay opened this issue Apr 12, 2016 · 1 comment · Fixed by #637
Closed

no-misspelled-properties is incorrectly failing on '-moz-osx-font-smoothing' #606

nmcclay opened this issue Apr 12, 2016 · 1 comment · Fixed by #637
Labels
Milestone

Comments

@nmcclay
Copy link

nmcclay commented Apr 12, 2016

I got around this issue by providing this exception to my config, but this would seem to be an error to me since font-awesome and many other icon fonts define this property for firefox.

  no-misspelled-properties:
    - 2
    - 'extra-properties':
          - 'osx-font-smoothing'
@DanPurdy
Copy link
Member

Looks like it will be down to the strip prefix helper function, it's only looking to strip singular prefixes such as -o- or -moz- not -moz-osx- see here

We can look to improve this. Are there any other 'dual' prefixes to be aware of that you know? I couldn't find much information on them before.

@DanPurdy DanPurdy added the bug label Apr 12, 2016
@DanPurdy DanPurdy added this to the 1.6.1 milestone Apr 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants