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

sds / scss-lint / 1180
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 23 Feb 2016 06:37PM UTC
Jobs 4
Files 90
Run time 17s
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

pending completion
1180

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.

2 of 2 new or added lines in 1 file covered. (100.0%)

2690 of 2793 relevant lines covered (96.31%)

1452.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1180.1 (1.9.3) 23 Feb 2016 06:37PM UTC 0
96.33
Travis Job 1180.1
3 1180.3 (2.1) 23 Feb 2016 06:37PM UTC 0
96.29
Travis Job 1180.3
4 1180.4 (2.2) 23 Feb 2016 06:37PM UTC 0
96.29
Travis Job 1180.4
5 1180.5 (2.3.0) 23 Feb 2016 06:37PM UTC 0
96.29
Travis Job 1180.5
Source Files on build 1180
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1180
  • 0eafe269 on github
  • Next Build on private-naming-convention-bugs (#1181)
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