Skip to content

Commit d652c49

Browse files
logaretmclaude
andcommitted
chore(nitro): switch lint scripts to oxlint
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent baac16b commit d652c49

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/nitro/.oxlintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "../../node_modules/oxlint/configuration_schema.json",
3+
"extends": ["../../.oxlintrc.base.json"],
4+
"env": {
5+
"node": true
6+
}
7+
}

packages/nitro/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
"build:types:watch": "tsc -p tsconfig.types.json --watch",
6060
"build:tarball": "npm pack",
6161
"clean": "rimraf build coverage sentry-nitro-*.tgz",
62-
"fix": "eslint . --format stylish --fix",
63-
"lint": "eslint . --format stylish",
62+
"lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
6463
"lint:es-compatibility": "es-check es2022 ./build/esm/*.js --module",
6564
"test": "vitest run",
6665
"test:watch": "vitest --watch",

0 commit comments

Comments
 (0)