Skip to content

Commit a22074d

Browse files
committed
chore: fix linting
1 parent 74f38d3 commit a22074d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module.exports = {
5151
// https://github.com/typescript-eslint/typescript-eslint/issues/2483
5252
'no-shadow': 'off',
5353
'@typescript-eslint/no-shadow': 'error',
54+
'import/max-dependencies': 'off',
5455
},
5556
},
5657
{

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/runtime/src/helpers/flags.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export const splitApiRoutes = (featureFlags: Record<string, unknown>, publish: s
3131
}
3232

3333
export const bundleBasedOnNftFiles = (featureFlags: Record<string, unknown>): boolean => {
34-
const isEnabled = destr(process.env.NEXT_BUNDLE_BASED_ON_NFT_FILES) ?? featureFlags.next_bundle_based_on_nft_files ?? false
34+
const isEnabled =
35+
destr(process.env.NEXT_BUNDLE_BASED_ON_NFT_FILES) ?? featureFlags.next_bundle_based_on_nft_files ?? false
3536

3637
return isEnabled
3738
}

packages/runtime/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const plugin: NetlifyPlugin = {
5151
cache,
5252
},
5353
}) {
54-
console.log("using local version")
54+
console.log('using local version')
5555
const { publish } = netlifyConfig.build
5656
if (shouldSkip()) {
5757
await restoreCache({ cache, publish })

0 commit comments

Comments
 (0)