Skip to content

Commit

Permalink
meta tweaks
Browse files Browse the repository at this point in the history
closes #64
  • Loading branch information
sindresorhus committed Apr 7, 2016
1 parent a551307 commit f1dbe11
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Expand Up @@ -10,6 +10,3 @@ insert_final_newline = true
[{package.json,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,6 +1,7 @@
sudo: false
language: node_js
node_js:
- 'iojs'
- '5'
- '4'
- '0.12'
- '0.10'
2 changes: 1 addition & 1 deletion index.js
@@ -1,7 +1,7 @@
'use strict';
var path = require('path');
var gutil = require('gulp-util');
var multimatch = require('multimatch');
var path = require('path');
var streamfilter = require('streamfilter');

module.exports = function (pattern, options) {
Expand Down
8 changes: 1 addition & 7 deletions package.json
Expand Up @@ -7,7 +7,7 @@
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
"url": "sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
Expand Down Expand Up @@ -37,11 +37,5 @@
"devDependencies": {
"mocha": "*",
"xo": "*"
},
"xo": {
"envs": [
"node",
"mocha"
]
}
}
6 changes: 3 additions & 3 deletions readme.md
Expand Up @@ -138,14 +138,14 @@ Accepts [minimatch options](https://github.com/isaacs/minimatch#options).

#### options.restore

Type: `boolean`
Type: `boolean`<br>
Default: `false`

Restore filtered files.

#### options.passthrough

Type: `boolean`
Type: `boolean`<br>
Default: `true`

When set to `true` filtered files are restored with a PassThrough stream, otherwise, when set to `false`, filtered files are restored as a Readable stream.
Expand All @@ -155,4 +155,4 @@ When the stream is Readable it ends by itself, but when PassThrough, you are res

## License

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
1 change: 1 addition & 0 deletions test.js
@@ -1,4 +1,5 @@
'use strict';
/* eslint-env mocha */
var path = require('path');
var assert = require('assert');
var gutil = require('gulp-util');
Expand Down

0 comments on commit f1dbe11

Please sign in to comment.