Skip to content

Commit 1fada0c

Browse files
committed
chore: fix eslint
1 parent 2e4d2a0 commit 1fada0c

File tree

3 files changed

+114
-110
lines changed

3 files changed

+114
-110
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ module.exports = {
4646
// TODO: re-enable after dropping support for Node 12
4747
'n/no-unsupported-features/es-syntax': 'off',
4848
'@typescript-eslint/no-extra-semi': 'off',
49+
// This behaves strangely, and we have TypeScript for this anyway
50+
'n/no-missing-import': 0,
4951
},
5052
},
5153
{

package-lock.json

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

packages/runtime/src/templates/ipx.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable n/no-missing-import, import/no-unresolved, @typescript-eslint/ban-ts-comment */
1+
/* eslint-disable import/no-unresolved, @typescript-eslint/ban-ts-comment */
22
import { Handler } from '@netlify/functions'
33
import { createIPXHandler } from '@netlify/ipx'
44

@@ -11,4 +11,4 @@ export const handler: Handler = createIPXHandler({
1111
remotePatterns,
1212
responseHeaders,
1313
}) as Handler
14-
/* eslint-enable n/no-missing-import, import/no-unresolved, @typescript-eslint/ban-ts-comment */
14+
/* eslint-enable import/no-unresolved, @typescript-eslint/ban-ts-comment */

0 commit comments

Comments
 (0)