Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20f05f6

Browse files
author
Josh Goldberg
authored
chore: enable no-floating-promises internally (typescript-eslint#3279)
1 parent e2cbeef commit 20f05f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ module.exports = {
6363
],
6464

6565
// TODO - enable these new recommended rules
66-
'@typescript-eslint/no-floating-promises': 'off',
6766
'@typescript-eslint/no-unsafe-assignment': 'off',
6867
'@typescript-eslint/no-unsafe-call': 'off',
6968
'@typescript-eslint/no-unsafe-member-access': 'off',

tools/generate-contributors.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,7 @@ async function main(): Promise<void> {
114114
fs.writeFileSync(rcPath, JSON.stringify(allContributorsConfig, null, 2));
115115
}
116116

117-
main();
117+
main().catch(error => {
118+
console.error(error);
119+
process.exitCode = 1;
120+
});

0 commit comments

Comments
 (0)