Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const typescriptRules = {
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/only-throw-error': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/prefer-promise-reject-errors': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/unbound-method': 'off',
'no-prototype-builtins': 'off',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const getPackageJsonFromPathAsync = async (filePath: string): Promise<any
try {
json = JSON.parse(data);
} catch (e) {
return reject(e);
return reject(e as Error);
}

return resolve(json);
Expand Down
Loading