We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92dcf3a commit 66a9670Copy full SHA for 66a9670
.eslintrc.js
@@ -48,6 +48,9 @@ module.exports = {
48
'n/no-unsupported-features/es-syntax': 'off',
49
'@typescript-eslint/no-extra-semi': 'off',
50
'n/no-missing-import': 'off',
51
+ // https://github.com/typescript-eslint/typescript-eslint/issues/2483
52
+ 'no-shadow': 'off',
53
+ '@typescript-eslint/no-shadow': 'error',
54
},
55
56
{
packages/runtime/src/helpers/types.ts
@@ -52,8 +52,6 @@ export interface RoutesManifest {
rewrites: Rewrites
}
-// I have no idea what eslint is up to here but it gives an error
-// eslint-disable-next-line no-shadow
57
export const enum ApiRouteType {
58
SCHEDULED = 'experimental-scheduled',
59
BACKGROUND = 'experimental-background',
0 commit comments