-
Notifications
You must be signed in to change notification settings - Fork 61
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
Valid attribute selectors flagged as invalid properties #54
Comments
I see this, too, when I don't see any issue if I do this: a[href] {
outline: none;
} |
this should be fixed on the develop branch, please verify |
This worked for me, but I ran into another weird bug. If my D:\Sites\stylint\src\checks\duplicates.js:69
this.prevLine.indexOf(',') === -1 ) {
^
TypeError: Cannot read property 'indexOf' of undefined
at Object.duplicateSelectors [as duplicates] (D:\Sites\stylint\src\checks\duplicates.js:69:17)
at Object.test (D:\Sites\stylint\src\test.js:118:14)
at D:\Sites\stylint\src\parse.js:50:15
at Array.forEach (native)
at D:\Sites\stylint\src\parse.js:46:9
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3) Let me know if you'd like me to create a separate bug report for this. |
hah, that makes sense, and the fix should be easy actually. i just need something like |
should be fixed in 0.9.3 |
👍 No longer throws an error when I pull develop. |
awesome |
It seems attribute presence and value selectors are being flagged as invalid properties. For instance:
when run through
stylint
generates:The text was updated successfully, but these errors were encountered: