Open benbernard opened 7 years ago
Would love a PR for this! You should target the v2 branch 😄
The camelCase rule also triggers false positives when using CSS2 pseudo-element syntax with a single colon.
.paragraph:first-letter
- False positive.paragraph::first-letter
- OKp:first-letter
- OK
There are a number of issues in camelCase enforcement with
"namingConvention": "camelCase"
. Here is what I've found:$vPad
- Triggers because camelCase requires more than one leading lower case letter (see camelRe in the check$gradient($boldGreen)
- Triggers because upperRe is applied to whole line and camelRe doesn't allow all lowercase identifiers$marginShift(-8)
- Triggers because a-
is on the lineI may get a PR in for this, but I wanted to document what I'd found before losing the thread