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

sindresorhus / xo / 353 / 2
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 13 Dec 2016 12:20PM UTC
Files 5
Run time 0s
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

13 Dec 2016 12:18PM UTC coverage: 84.716% (+0.6%) from 84.091%
353.2

push

travis-ci

sindresorhus
feat: apply `.ignores` to `lintText` (#169)

* feat: apply `.ignores` to `lintText`

- add multimatch-powered short-circuit to `lintText`
- add supporting test cases
- closes #168

* fix: respect overrides before ignoring files

*  merge applicable overrides before ignoring files
*  throw for opts.ignores without opts.filename
*  use default ignores when opts.filename is given
*  add test case for default ignores

BREAKING CHANGES:
* lintText now uses the same default ignores as lintFiles with opts.filename
  * **/node_modules/**
  * **/bower_components/**
  * coverage/**
  * {tmp,temp}/**
  * **/*.min.js
  * **/bundle.js
  * fixtures{-*,}.{js,jsx}
  * fixture{s,}/**
  * {test,tests,spec,__tests__}/fixture{s,}/**
  * vendor/**
  * dist/**
* lintText now throws when providing opts.ignores without opts.filename

* style: use lodash.isequal, shorten error message

* test: add case with overriden ignores

* chore: remove array-equal

194 of 229 relevant lines covered (84.72%)

20.28 hits per line

Source Files on job 353.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 353
  • Travis Job 353.2
  • 2e14d1b8 on github
  • Prev Job for on master (#346.2)
  • Next Job for on master (#354.2)
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