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

sindresorhus / xo / 353
95%

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

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%)

40.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 353.1 13 Dec 2016 12:20PM UTC 0
84.72
Travis Job 353.1
2 353.2 13 Dec 2016 12:20PM UTC 0
84.72
Travis Job 353.2
Source Files on build 353
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #353
  • 2e14d1b8 on github
  • Prev Build on master (#346)
  • Next Build on master (#354)
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