Skip to content

Commit ac02eaa

Browse files
committed
fix: Caught more ping promises? They shouldn't get to that point anyway
1 parent 2b8fed5 commit ac02eaa

4 files changed

Lines changed: 2587 additions & 170 deletions

File tree

.eslintrc.cjs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* eslint-env node */
2+
module.exports = {
3+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint'],
6+
root: true,
7+
overrides: [
8+
{
9+
files: ['*.ts', '*.tsx'], // Your TypeScript files extension
10+
11+
// As mentioned in the comments, you should extend TypeScript plugins here,
12+
// instead of extending them outside the `overrides`.
13+
// If you don't want to extend any rules, you don't need an `extends` attribute.
14+
extends: [
15+
'plugin:@typescript-eslint/recommended',
16+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
17+
],
18+
19+
parserOptions: {
20+
project: ['./tsconfig.json'], // Specify it only for TypeScript files
21+
},
22+
},
23+
],
24+
rules: {
25+
"@typescript-eslint/no-floating-promises": "error"
26+
}
27+
};

0 commit comments

Comments
 (0)