Skip to content

Commit e9d455c

Browse files
committed
add exception for pythonExtensionApi/out/
1 parent 45eb2e6 commit e9d455c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pythonExtensionApi/out/
12

23
# The following files were grandfathered out of eslint. They can be removed as time permits.
34

scripts/cleanup-eslintignore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fs.readFile(eslintignorePath, 'utf8', (err, data) => {
1616

1717
files.forEach((file) => {
1818
const filePath = path.join(baseDir, file);
19-
if (!fs.existsSync(filePath)) {
19+
if (!fs.existsSync(filePath) && file !== 'pythonExtensionApi/out/') {
2020
nonExistentFiles.push(file);
2121
}
2222
});
@@ -27,7 +27,7 @@ fs.readFile(eslintignorePath, 'utf8', (err, data) => {
2727

2828
const updatedLines = lines.filter((line) => {
2929
const trimmedLine = line.trim();
30-
return !nonExistentFiles.includes(trimmedLine);
30+
return !nonExistentFiles.includes(trimmedLine) || trimmedLine === 'pythonExtensionApi/out/';
3131
});
3232
const updatedData = `${updatedLines.join('\n')}\n`;
3333

0 commit comments

Comments
 (0)