-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Caught more ping promises? They shouldn't get to that point anyway
- Loading branch information
Showing
4 changed files
with
2,587 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
}; |
Oops, something went wrong.