Skip to content

Commit

Permalink
fix: Caught more ping promises? They shouldn't get to that point anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Jul 5, 2023
1 parent 2b8fed5 commit ac02eaa
Show file tree
Hide file tree
Showing 4 changed files with 2,587 additions and 170 deletions.
27 changes: 27 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
overrides: [
{
files: ['*.ts', '*.tsx'], // Your TypeScript files extension

// As mentioned in the comments, you should extend TypeScript plugins here,
// instead of extending them outside the `overrides`.
// If you don't want to extend any rules, you don't need an `extends` attribute.
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],

parserOptions: {
project: ['./tsconfig.json'], // Specify it only for TypeScript files
},
},
],
rules: {
"@typescript-eslint/no-floating-promises": "error"
}
};
Loading

0 comments on commit ac02eaa

Please sign in to comment.