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

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

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 20 Feb 2016 03:54PM UTC
Jobs 6
Files 89
Run time 2min
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
1160

push

travis-ci

lencioni
Add PrivateNamingConvention linter

Although the `NameFormat` linter has an option to allow for leading
underscores, it does not enforce the convention. It would be really
great to either have a linter that does this.

What I mean by enforcing privacy for the leading underscore convention
is, for variables, functions, and mixins that start with a leading
underscore, we should verify that:

- any definitions are used within the same file
- any uses are defined within the same file
- any uses are preceded by their definitions

I considered adding this to `NameFormat`, but it seems specialized
enough that I decided to put it in its own linter. I left the prefix
configurable but defaulting to `_`, which is likely what most people
would use anyway.

Fixes #721

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

2742 of 2850 relevant lines covered (96.21%)

1767.33 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
lib/scss_lint/linter/duplicate_property.rb
Jobs
ID Job ID Ran Files Coverage
1 1160.1 (1.9.3) 20 Feb 2016 03:55PM UTC 0
96.37
Travis Job 1160.1
2 1160.2 (2.0.0) 20 Feb 2016 03:54PM UTC 0
96.33
Travis Job 1160.2
3 1160.3 (2.1) 20 Feb 2016 03:55PM UTC 0
96.33
Travis Job 1160.3
4 1160.4 (2.2) 20 Feb 2016 03:54PM UTC 0
96.33
Travis Job 1160.4
5 1160.5 (2.3.0) 20 Feb 2016 03:55PM UTC 0
96.33
Travis Job 1160.5
6 1160.6 (jruby-19mode) 20 Feb 2016 03:56PM UTC 0
94.99
Travis Job 1160.6
Source Files on build 1160
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1160
  • 33ab4ef9 on github
  • Prev Build on PrivateNamingConvention (#1154)
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