This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @netlify/eslint-config-node to v6 (#1063)
* chore(deps): update dependency @netlify/eslint-config-node to v6 * chore: fix lockfile * chore: fix linting * chore: fix linting Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: ehmicky <[email protected]>
- Loading branch information
1 parent
ad9161d
commit dc0fe1a
Showing
9 changed files
with
2,689 additions
and
2,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"parserOptions": { "sourceType": "module" }, | ||
"rules": { | ||
"node/no-unsupported-features/es-syntax": 0 | ||
"n/no-unsupported-features/es-syntax": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
import { schedule } from '@netlify/functions' | ||
|
||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
export const handler = schedule('@daily', () => { | ||
// function handler | ||
}) |
4 changes: 2 additions & 2 deletions
4
tests/fixtures/in-source-config/functions/cron_esm_renamed.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
import { schedule as somethingElse } from '@netlify/functions' | ||
|
||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
export const handler = somethingElse('@daily', () => { | ||
// function handler | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
import { schedule } from '@netlify/functions' | ||
|
||
const str: string = 'hello' | ||
|
||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
export const handler = schedule('@daily', () => { | ||
console.log(str) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
import { schedule as somethingElse } from '@netlify/functions' | ||
|
||
const str: string = 'hello' | ||
|
||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
// eslint-disable-next-line n/no-unsupported-features/es-syntax | ||
export const handler = somethingElse('@daily', () => { | ||
console.log(str) | ||
}) |
dc0fe1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⏱ Benchmark results
largeDepsEsbuild: 6.8s
largeDepsNft: 30s
largeDepsZisi: 53.3s