add prettier check
This commit is contained in:
parent
92a14d504b
commit
34720de587
|
@ -17,7 +17,7 @@ jobs:
|
|||
|
||||
- run: semgrep ci --exclude 'public/charting_library'
|
||||
env:
|
||||
SEMGREP_RULES: p/typescript
|
||||
SEMGREP_RULES: p/typescript
|
||||
|
||||
sca:
|
||||
name: Dependency Scan
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
yarn typecheck && yarn lint --quiet
|
||||
yarn format && yarn typecheck && yarn lint --quiet
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"dev": "rm -rf .next && next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"format": "prettier --check .",
|
||||
"lint": "next lint",
|
||||
"typecheck": "tsc",
|
||||
"prepare": "husky install",
|
||||
|
|
Loading…
Reference in New Issue