Skip to content

Commit 444c49a

Browse files
chore: remove stale entries from gitignore (#1861)
* chore: remove stale entries from gitignore * chore: suggestions Co-authored-by: Even Stensberg <[email protected]>
1 parent 83a2dd2 commit 444c49a

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ lerna-debug.log
3939
# package-lock file
4040
package-lock.json
4141

42-
# source maps of docs
43-
docs/**/*.map
4442
junit.xml
4543

4644
# typescript source maps
@@ -50,8 +48,3 @@ packages/**/*.map
5048
# cache
5149
.eslintcache
5250

53-
# temporary test files
54-
test-assets/
55-
./lib/
56-
57-
lib/test/loader/error-test/src/index.d.ts

scripts/cleanupTest.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ const collectTestFolders = require('./utils');
55

66
const outputDirectories = ['bin', 'binary', 'dist', 'test', 'test-assets', 'test-plugin', 'test-loader', 'stats.json'];
77

8-
function folderStrategy(stats, file) {
8+
const folderStrategy = (stats, file) => {
99
return stats.isDirectory() && outputDirectories.includes(file);
10-
}
10+
};
1111

12-
function cleanupOutputDirs() {
12+
const cleanupOutputDirs = () => {
1313
for (const outputFolder of collectTestFolders(folderStrategy)) {
1414
outputDirectories.forEach((dir) => rimraf.sync(join(outputFolder, dir)));
1515
}
16-
}
16+
};
1717

1818
module.exports = cleanupOutputDirs;

test/loader/error-test/tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"compileOnSave": false,
3+
"buildOnSave": false,
4+
"compilerOptions": {
5+
"target": "es6",
6+
"moduleResolution": "node",
7+
"noEmitOnError": false,
8+
"outDir": "./dist"
9+
},
10+
"exclude": ["node_modules"]
11+
}

0 commit comments

Comments
 (0)