• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sds / scss-lint / 1181 / 1
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 23 Feb 2016 06:38PM UTC
Files 90
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Feb 2016 06:39PM UTC coverage: 96.328%. Remained the same
1.9.3

push

travis-ci

lencioni
Handle files that begin with comments in PrivateNamingConvention

After trying out this new rule, I noticed a couple of bugs. Both are
related, and one caused a crash. They both happen when the file begins
with a comment.

For some reason, if the file starts with a comment, the engine seems to
visit the function usage twice, once before it visits the function
definition, and once after. Since we are relying on the order that these
things are visited here, this causes a lint to happen.

But even worse, when visiting a variable within a for loop, the node has
no source range, which causes a crash. This only seems to happen when
the file begins with a comment.

I fixed these by making sure that things have a source range before we
determine their position, and by also checking the top level even though
we really shouldn't need to.

2676 of 2778 relevant lines covered (96.33%)

365.02 hits per line

Source Files on job 1181.1 (1.9.3)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1181
  • Travis Job 1181.1
  • 55047bb1 on github
  • Prev Job for 1.9.3 on private-naming-convention-bugs (#1180.1)
  • Next Job for 1.9.3 on private-naming-convention-bugs (#1184.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc