mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fix @typescript-eslint/await-thenable errors
This commit is contained in:
parent
570aab63e4
commit
b9aa271bfc
3 changed files with 4 additions and 3 deletions
|
|
@ -104,7 +104,6 @@
|
|||
"@typescript-eslint/ban-types": "off",
|
||||
"no-shadow": "off",
|
||||
"@typescript-eslint/no-shadow": ["error"],
|
||||
"@typescript-eslint/await-thenable": "off",
|
||||
"@typescript-eslint/no-floating-promises": "off",
|
||||
"@typescript-eslint/no-misused-promises": "off",
|
||||
"@typescript-eslint/no-unnecessary-type-assertion": "off",
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ async function init() {
|
|||
console.error('Error fetching updates', `${err.message} (${err.stack})`);
|
||||
});
|
||||
|
||||
const config = await retry(async () => {
|
||||
const content = await getDecoratedConfig();
|
||||
const config = await retry(() => {
|
||||
const content = getDecoratedConfig();
|
||||
|
||||
if (!content) {
|
||||
throw new Error('No config content loaded');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable eslint-comments/disable-enable-pair */
|
||||
/* eslint-disable @typescript-eslint/await-thenable */
|
||||
// Native
|
||||
import path from 'path';
|
||||
import fs from 'fs-extra';
|
||||
|
|
|
|||
Loading…
Reference in a new issue