mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 06:23:16 +00:00
eslint: add strict await checking: (#684)
- require await / void / catch for promises - don't allow unnecessary await
This commit is contained in:
parent
9cacae6bb6
commit
b42548373d
16 changed files with 79 additions and 46 deletions
8
tsconfig.eslint.json
Normal file
8
tsconfig.eslint.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"noEmit": true
|
||||
},
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.ts", "**/*.js", ".*.js"],
|
||||
"exclude": ["dist", "configs", "crawls"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue