mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-23 08:34:14 -05:00
Add auto-formatting
This commit is contained in:
parent
dc3ec3074f
commit
944c68a191
@ -3,6 +3,7 @@ node_js:
|
||||
- "12"
|
||||
script:
|
||||
- npm run eslint
|
||||
- npm run prettier-check
|
||||
- npm run test -- --failTaskOnError --suppressPassed
|
||||
|
||||
after_success:
|
||||
|
@ -50,6 +50,11 @@
|
||||
"prettier": "2.3.2",
|
||||
"pretty-quick": "^3.1.1"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "eslint && pretty-quick --staged"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"jsdoc": "jsdoc ./lib -R ./README.md -d doc",
|
||||
"eslint": "eslint \"./**/*.js\" --cache --quiet",
|
||||
|
Loading…
Reference in New Issue
Block a user