Commit f329a01
authored
Add unimported to workflow (#2441)
* 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.js1 parent 209f71f commit f329a01
10 files changed
Lines changed: 1556 additions & 104 deletions
File tree
- .github/workflows
- lib/sinon
- util/core
- test
- util/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
59 | 82 | | |
60 | 83 | | |
61 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
This file was deleted.
This file was deleted.
0 commit comments