Commit 0010bba8 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Ajoute un script NPM pour formatter les sources.

parent 064502e8
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
"scripts": { "scripts": {
"build": "gulp build", "build": "gulp build",
"dev": "gulp dev", "dev": "gulp dev",
"lint": "eslint --color . && prettier --check . && depcheck ." "lint": "eslint --color . && prettier --check . && depcheck .",
"format": "eslint --color --fix . && prettier --write ."
}, },
"bin": "bin/prezbuilder", "bin": "bin/prezbuilder",
"repository": { "repository": {
......
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