Skip to content

Commit 11a649c

Browse files
chore: enforce format check in ci (#193)
1 parent 83ffc6d commit 11a649c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ jobs:
2020
key: v1-dependencies-{{ checksum "yarn.lock" }}
2121

2222
- run: yarn check-license-headers
23+
- run: yarn format:check
2324
- run: yarn lint
2425
- run: yarn test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"check-license-headers": "node ./scripts/checkLicenseHeaders.js",
1919
"lint": "eslint src/",
2020
"format": "prettier --write '**/*.{js,json,md,html,css}'",
21+
"format:check": "prettier --check '**/*.{js,json,md,html,css}'",
2122
"release": "npm publish --access public",
2223
"test": "jest"
2324
},

0 commit comments

Comments
 (0)