mirror of
https://github.com/Arcadia-Solutions/arcadia.git
synced 2026-01-05 17:19:38 -06:00
add check-format script and use it in CI
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -66,5 +66,5 @@ jobs:
|
||||
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm run format
|
||||
- run: npm run check-format
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
"lint:oxlint": "oxlint . --fix -D correctness --ignore-path .gitignore",
|
||||
"lint:eslint": "eslint . --fix",
|
||||
"lint": "run-s lint:*",
|
||||
"format": "prettier --write src/"
|
||||
"format": "prettier --write src/",
|
||||
"check-format": "prettier --check src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@primeuix/themes": "^1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user