We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace7d39 commit b0fa41cCopy full SHA for b0fa41c
package.json
@@ -12,7 +12,7 @@
12
"build:types": "dts-bundle-generator -o dist/types.d.ts src/index.ts",
13
"type-check": "tsc --noEmit",
14
"lint": "eslint",
15
- "format": "prettier --write '**/*.{ts,tsx,js,jsx,json,yml}'",
+ "format": "prettier $([ $CI ] && echo '--check' || echo '--write') '**/*.{js,jsx,ts,tsx,json,yml}'",
16
"spec": "vitest run",
17
"coverage": "vitest run --coverage",
18
"verify": "npm run lint && npm run type-check && npm run format",
0 commit comments