Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sds / scss-lint
96%
master: 96%

Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Repo Added 26 Jun 2015 09:03PM UTC
Files 95
Badge
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

LAST BUILD ON BRANCH PrivateNamingConvention
branch: PrivateNamingConvention
CHANGE BRANCH
x
Reset
  • PrivateNamingConvention
  • master
  • v0.40.0
  • v0.40.1
  • v0.41.0
  • v0.42.0
  • trailing-semicolon-important
  • bang-format
  • v0.42.1
  • v0.42.2
  • v0.43.0
  • pseudoselector
  • v0.43.1
  • v0.43.2
  • v0.44.0
  • universal-newline
  • single-line-per-property-nesting
  • relax-rake-dependency-version
  • v0.45.0
  • linter-gem-spec
  • tap-reporter
  • private-naming-edge-cases
  • v0.46.0
  • private-naming-convention-bugs
  • tap-reporter-format
  • v0.47.0
  • tap-report-path-fix
  • v0.47.1
  • v0.48.0
  • v0.49.0
  • v0.50.0
  • v0.50.1
  • v0.50.2
  • v0.50.3
  • v0.51.0
  • v0.52.0
  • v0.53.0
  • v0.54.0
  • v0.55.0
  • v0.56.0
  • v0.57.0
  • v0.57.1
  • v0.58.0
  • v0.59.0

20 Feb 2016 - 15:52 coverage: 96.211% (-0.08%) from 96.294%
1160

push

travis-ci

Ca2371141eb9e3500b35f3409be094be?size=18&default=identiconlencioni
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

2742 of 2850 relevant lines covered (96.21%)

1767.33 hits per line

Relevant lines Covered
Build:
2850 RELEVANT LINES 2742 COVERED LINES
1767.33 HITS PER LINE
Source Files on PrivateNamingConvention
  • List 89
  • Changed 26
  • Source Changed 1
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Builds

Builds Branch Commit Type Ran Committer Via Coverage
1160 PrivateNamingConvention 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 pri... push 20 Feb 2016 03:54PM UTC Ca2371141eb9e3500b35f3409be094be?size=18&default=identiconlencioni travis-ci
96.21
1154 PrivateNamingConvention 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 pri... push 18 Feb 2016 10:16PM UTC B35560c31e8a4444dfe6f9316c39cb9e?size=18&default=identiconlencioni travis-ci
96.29
1152 PrivateNamingConvention 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 pri... push 18 Feb 2016 10:10PM UTC B35560c31e8a4444dfe6f9316c39cb9e?size=18&default=identiconlencioni travis-ci
96.29
1150 PrivateNamingConvention 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 pri... push 18 Feb 2016 10:05PM UTC B35560c31e8a4444dfe6f9316c39cb9e?size=18&default=identiconlencioni travis-ci
96.3
1148 PrivateNamingConvention 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 pri... push 18 Feb 2016 09:34PM UTC B35560c31e8a4444dfe6f9316c39cb9e?size=18&default=identiconlencioni travis-ci
96.3
See All Builds (675)
  • Repo on GitHub
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc