Skip to content

Commit 5fa9f66

Browse files
committed
inline oxlint scripts, remove them
1 parent a40dbf3 commit 5fa9f66

File tree

9 files changed

+8
-22
lines changed

9 files changed

+8
-22
lines changed

backend/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"license": "GPL-3.0",
55
"private": true,
66
"scripts": {
7-
"oxlint": "oxlint . --type-aware --type-check",
8-
"oxlint-plugin": "oxlint -c .oxlintrc-plugin.json",
9-
"lint": "npm run oxlint && npm run oxlint-plugin",
7+
"lint": "oxlint . --type-aware --type-check && oxlint -c .oxlintrc-plugin.json",
108
"lint-fast": "oxlint .",
119
"build": "npm run gen-docs && tsc --build",
1210
"watch": "tsc --build --watch",

frontend/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"oxlint": "oxlint . --type-aware --type-check",
8-
"oxlint-plugin": "oxlint -c .oxlintrc-plugin.json",
9-
"lint": "npm run oxlint && npm run oxlint-plugin",
7+
"lint": "oxlint . --type-aware --type-check && oxlint -c .oxlintrc-plugin.json",
108
"lint-fast": "oxlint .",
119
"lint-json": "eslint static/**/*.json",
1210
"check-assets": "tsx ./scripts/check-assets.ts",

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
"lint-fast-be": "turbo run lint-fast --filter @monkeytype/backend",
1818
"lint-fast-fe": "turbo run lint-fast --filter @monkeytype/frontend",
1919
"lint-fast-pkg": "turbo run lint-fast --filter=\"./packages/*\"",
20-
"oxlint": "turbo run oxlint",
21-
"oxlint-be": "turbo run oxlint --filter @monkeytype/backend",
22-
"oxlint-fe": "turbo run oxlint --filter @monkeytype/frontend",
23-
"oxlint-pkg": "turbo run oxlint --filter=\"./packages/*\"",
2420
"build": "turbo run build",
2521
"build-be": "turbo run build --filter @monkeytype/backend",
2622
"build-fe": "turbo run build --filter @monkeytype/frontend",

packages/contracts/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"test": "vitest run",
88
"madge": " madge --circular --extensions ts ./src",
99
"ts-check": "tsc --noEmit",
10-
"oxlint": "oxlint . --type-aware --type-check",
11-
"lint": "npm run oxlint",
10+
"lint": "oxlint . --type-aware --type-check",
1211
"lint-fast": "oxlint ."
1312
},
1413
"dependencies": {

packages/funbox/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"test": "vitest run",
88
"madge": " madge --circular --extensions ts ./src",
99
"ts-check": "tsc --noEmit",
10-
"oxlint": "oxlint . --type-aware --type-check",
11-
"lint": "npm run oxlint",
10+
"lint": "oxlint . --type-aware --type-check",
1211
"lint-fast": "oxlint ."
1312
},
1413
"devDependencies": {

packages/release/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"dev": "nodemon --watch src --exec \"node ./src/index.js --dry\"",
77
"dev-hotfix": "nodemon --watch src --exec \"node ./src/index.js --dry --hotfix\"",
88
"dev-changelog": "nodemon ./src/buildChangelog.js",
9-
"oxlint": "oxlint . --type-aware --type-check",
10-
"lint": "npm run oxlint",
9+
"lint": "oxlint . --type-aware --type-check",
1110
"lint-fast": "oxlint .",
1211
"purge-cf-cache": "./bin/purgeCfCache.sh"
1312
},

packages/schemas/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"test": "vitest run",
88
"madge": " madge --circular --extensions ts ./src",
99
"ts-check": "tsc --noEmit",
10-
"oxlint": "oxlint . --type-aware --type-check",
11-
"lint": "npm run oxlint",
10+
"lint": "oxlint . --type-aware --type-check",
1211
"lint-fast": "oxlint ."
1312
},
1413
"peerDependencies": {

packages/tsup-config/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"dev": "tsup-node --watch",
66
"build": "tsup-node",
77
"ts-check": "tsc --noEmit",
8-
"oxlint": "oxlint . --type-aware --type-check",
9-
"lint": "npm run oxlint",
8+
"lint": "oxlint . --type-aware --type-check",
109
"lint-fast": "oxlint ."
1110
},
1211
"peerDependencies": {

packages/util/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"test": "vitest run",
77
"madge": " madge --circular --extensions ts ./src",
88
"ts-check": "tsc --noEmit",
9-
"oxlint": "oxlint . --type-aware --type-check",
10-
"lint": "npm run oxlint",
9+
"lint": "oxlint . --type-aware --type-check",
1110
"lint-fast": "oxlint ."
1211
},
1312
"devDependencies": {

0 commit comments

Comments
 (0)