Skip to content

Commit

Permalink
chore: disallow .only test to be commited
Browse files Browse the repository at this point in the history
  • Loading branch information
pionxzh committed May 26, 2024
1 parent cd2f5b2 commit 0415bcc
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"test:update": "turbo run test:update",
"test:watch": "turbo run test:watch",
"test:type": "turbo run test:type",
"lint": "turbo run lint --max-warnings=0",
"lint:fix": "turbo run lint:fix --max-warnings=0",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"bump-deps": "pnpm exec taze",
"generate:pretty-testcases": "esno scripts/pretty-testcases.ts"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/ast-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"test:update": "vitest run --update --globals",
"test:watch": "vitest watch --globals",
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"devDependencies": {
"@babel/helper-validator-identifier": "^7.22.20",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"test:update": "vitest run --update --globals",
"test:watch": "vitest watch --globals",
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"fs-extra": "^11.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/ds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"scripts": {
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"publishConfig": {
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"@heroicons/react": "^2.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"dev": "vite",
"build": "vite build",
"test:type": "vue-tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"@codemirror/lang-javascript": "^6.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"test:update": "vitest run --update --globals",
"test:watch": "vitest watch --globals",
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"@babel/parser": "^7.24.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"scripts": {
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"vitest": "^1.5.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/unminify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"test:update": "vitest run --update --globals",
"test:watch": "vitest watch --globals",
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"@babel/core": "^7.23.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/unpacker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"test:update": "vitest run --update --globals",
"test:watch": "vitest watch --globals",
"test:type": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"devDependencies": {
"@babel/types": "^7.24.0",
Expand Down
4 changes: 2 additions & 2 deletions testcases/browserify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"license": "MIT",
"scripts": {
"build": "browserify src/index.js -o dist/index.js",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"is-array": "^1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions testcases/webpack4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"license": "MIT",
"scripts": {
"build": "cross-env NODE_OPTIONS=\"--openssl-legacy-provider\" webpack --mode production",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"dependencies": {
"history": "^4.10.1",
Expand Down
4 changes: 2 additions & 2 deletions testcases/webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"license": "MIT",
"scripts": {
"build": "webpack",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint": "eslint src --max-warnings=0",
"lint:fix": "eslint src --fix --max-warnings=0"
},
"devDependencies": {
"webpack": "^5.88.2",
Expand Down

0 comments on commit 0415bcc

Please sign in to comment.