Skip to content

Commit 7636eda

Browse files
renovate[bot]renovate-botJoshuaKGoldberg
authored
chore(deps): update typescript-eslint monorepo to v5.13.0 (#1394)
* chore(deps): update typescript-eslint monorepo to v5.13.0 * Fix a couple of lint issues Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Josh Goldberg <[email protected]>
1 parent a89a2c1 commit 7636eda

File tree

4 files changed

+84
-84
lines changed

4 files changed

+84
-84
lines changed

package-lock.json

Lines changed: 80 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"@types/lodash": "4.14.179",
3131
"@types/minimatch": "3.0.5",
3232
"@types/node": "17.0.18",
33-
"@typescript-eslint/eslint-plugin": "5.12.1",
34-
"@typescript-eslint/parser": "5.12.1",
33+
"@typescript-eslint/eslint-plugin": "5.13.0",
34+
"@typescript-eslint/parser": "5.13.0",
3535
"ansi-regex": "6.0.1",
3636
"cross-env": "7.0.3",
3737
"eslint": "8.10.0",

src/adapters/nativeImporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type NativeImporter = (moduleName: string) => unknown | Error;
1+
export type NativeImporter = (moduleName: string) => unknown;
22

33
export const nativeImporter = async (moduleName: string) => {
44
try {

src/input/importer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type ImporterDependencies = {
1313
export const importer = async (
1414
dependencies: ImporterDependencies,
1515
moduleName: string,
16-
): Promise<any | Error> => {
16+
): Promise<any> => {
1717
const pathAttempts = [path.join(dependencies.getCwd(), moduleName), moduleName];
1818

1919
const importFile = async (filePath: string) => {

0 commit comments

Comments
 (0)