Skip to content

Commit 7f5d3bc

Browse files
committed
Add lint:es-compatibility to nextjs
1 parent 93e4fa3 commit 7f5d3bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/nextjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"clean": "rimraf build coverage sentry-nextjs-*.tgz",
116116
"fix": "eslint . --format stylish --fix",
117117
"lint": "eslint . --format stylish",
118+
"lint:es-compatibility": "es-check es2020 ./build/cjs/*.js && es-check es2020 ./build/esm/*.js --module",
118119
"test": "yarn test:unit",
119120
"test:all": "run-s test:unit",
120121
"test:unit": "vitest run",

0 commit comments

Comments
 (0)