Commit 8f14c499 authored by Mickaël Bourgier's avatar Mickaël Bourgier
Browse files

👷 Add prettier check to CI

parent aa2344be
......@@ -7,3 +7,4 @@ test:
- yarn install
script:
- yarn test --coverage
- yarn prettier:check
......@@ -35,6 +35,7 @@
"lint": "eslint ./docs ./src",
"prepublishOnly": "yarn prettier && yarn lint && yarn build",
"prettier": "prettier --write './src/**/*.js' './docs/**/*.js'",
"prettier:check": "prettier --check './src/**/*.js' './docs/**/*.js'",
"test": "jest"
},
"peerDependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment