-
-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove unused file: lib/sinon/blob.js The last reference to this file was removed in 6b1841f, making it safe to remove * Move getConfig into test/ This has only been in use by tests since e37e1a6, so doesn't belong in the src/ folder anymore * Remove unused lib/sinon/util/core/restore.js Searching the git history, we find that the last reference to this file was removed with e37e1a6. ``` git log -p --full-history --all -G'require.*restore"' li ``` Therefore, it is safe to remove the file. * Add check for unimported files This allows us to find files that are no longer in use in the project and can be safely removed. See https://github.com/smeijer/unimported * fixup! Remove unused lib/sinon/util/core/restore.js
- Loading branch information
Showing
10 changed files
with
1,556 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"entry": ["lib/sinon.js", "lib/sinon-esm.js"], | ||
"extensions": [".js"], | ||
"ignorePatterns": ["**/node_modules/**"], | ||
"ignoreUnresolved": [], | ||
"ignoreUnimported": ["docs/**", "pkg/**", "test/**"], | ||
"ignoreUnused": [] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.