Skip to content

Commit 8be8a32

Browse files
committed
chore: lint
1 parent b2b4181 commit 8be8a32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
'unicorn/consistent-function-scoping': 0,
2626
'unicorn/filename-case': 0,
2727
'unicorn/no-array-push-push': 0,
28+
'unicorn/numeric-separators-style': 0,
2829
},
2930
parserOptions: {
3031
sourceType: 'module',

src/helpers/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const getNextConfig = async function getNextConfig({
3939
const resolveModuleRoot = (moduleName) => {
4040
try {
4141
return dirname(relative(process.cwd(), require.resolve(`${moduleName}/package.json`, { paths: [process.cwd()] })))
42-
} catch (error) {
42+
} catch {
4343
return null
4444
}
4545
}

0 commit comments

Comments
 (0)