Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't exclude test directories #3

Merged
merged 1 commit into from
Sep 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ This uses the following rules:
1. .npmignore and .gitignore files (their effect is in the package
already, there's no need to include them in the package)
2. editor junk like `.*.swp`, `._*` and `.*.orig` files
3. A `/test/` or `/tests/` folder at the root
4. `.npmrc` files (these may contain private configs)
5. The `node_modules/.bin` folder
6. Waf and gyp cruft like `/build/config.gypi` and `.lock-wscript`
7. Darwin's `.DS_Store` files because wtf are those even
8. `npm-debug.log` files at the root of a project
3. `.npmrc` files (these may contain private configs)
4. The `node_modules/.bin` folder
5. Waf and gyp cruft like `/build/config.gypi` and `.lock-wscript`
6. Darwin's `.DS_Store` files because wtf are those even
7. `npm-debug.log` files at the root of a project

You can explicitly re-include any of these with a `files` list in
`package.json` or a negated ignore file rule.
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const defaultRules = [
'.DS_Store',
'._*',
'*.orig',
'/test{,s}/',
'package-lock.json'
]

Expand Down