mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-12 21:05:29 +01:00
Disable @typescript-eslint/no-implicit-any-catch
(Strict mode in TS 4.4 enables useUnknownInCatchVariables, so this is redundant.)
This commit is contained in:
parent
b52f9253c2
commit
70a55e9a2e
|
@ -63,7 +63,8 @@
|
|||
"new-cap": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars-experimental": "error",
|
||||
"@typescript-eslint/prefer-readonly-parameter-types": "off"
|
||||
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
||||
"@typescript-eslint/no-implicit-any-catch": "off"
|
||||
}
|
||||
},
|
||||
"husky": {
|
||||
|
|
|
@ -65,8 +65,8 @@ export default class FileCacheProvider {
|
|||
await fs.rename(tmpPath, finalPath);
|
||||
|
||||
await FileCache.create({hash, bytes: stats.size, accessedAt: new Date()});
|
||||
} catch (e: unknown) {
|
||||
debug(`Caught error trying to move a finished cache file: ${String(e)}`);
|
||||
} catch (error) {
|
||||
debug('Errored when moving a finished cache file:', error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue