Skip to content

Commit

Permalink
[meta] fix "files" field to include/exclude the proper files
Browse files Browse the repository at this point in the history
Fixes #1635.
  • Loading branch information
ljharb committed Jan 29, 2020
1 parent 986ba74 commit aff3a46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel

### Changed
- [`import/external-module-folders` setting] behavior is more strict now: it will only match complete path segments ([#1605], thanks [@skozin])
- [meta] fix "files" field to include/exclude the proper files ([#1635], thanks [@ljharb])

## [2.20.0] - 2020-01-10
### Added
Expand Down Expand Up @@ -645,6 +646,7 @@ for info on changes for earlier releases.

[`memo-parser`]: ./memo-parser/README.md

[#1635]: https://github.com/benmosher/eslint-plugin-import/issues/1635
[#1620]: https://github.com/benmosher/eslint-plugin-import/pull/1620
[#1613]: https://github.com/benmosher/eslint-plugin-import/issues/1613
[#1612]: https://github.com/benmosher/eslint-plugin-import/pull/1612
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
"test": "tests"
},
"files": [
"*.md",
"LICENSE",
"docs",
"lib",
"config",
"memo-parser"
"memo-parser/{*.js,LICENSE,*.md}"
],
"scripts": {
"prebuild": "rimraf lib",
Expand Down

0 comments on commit aff3a46

Please sign in to comment.