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

Ajoute un script NPM pour formatter les sources.

No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
...@@ -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": {
......
Supports Markdown
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