googlearchive / polylint

Lint polymer!
BSD 3-Clause "New" or "Revised" License
116 stars 19 forks source link

False positive on "property not found" #64

Closed kjlubick closed 8 years ago

kjlubick commented 8 years ago

Using the latest polylint (2.7), I now seem to get a false positive for the following element: https://gist.github.com/kjlubick/001cf6003c20a19d36d4#file-status-html

Property lastcommit not found in 'properties' for element 'fuzzer-status-sk'

At first, I had lastCommit and so I thought it was a camel-case problem, but it doesn't appear to be so.

kjlubick commented 8 years ago

I figured out what was causing the stir, but it might still be a bug.

{{ lastcommit.shortHash }} was problematic while {{lastcommit.shortHash}} was fine. Somehow, polylint thought my variable name was ' lastcommit' with a leading space.

kjlubick commented 8 years ago

What was also confusing about this was the column number pointed to the '>' of the anchor tag and not the actual problem

tjsavage commented 8 years ago

Just ran into this as well