Explorar o código

add 'lint:fix' npm script

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
d041c34642
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -31,6 +31,7 @@
     "clean:report": "rimraf -- report",
     "clean": "npm-run-all -p clean:*",
     "heroku-postbuild": "sh bin/heroku/install-plugins.sh && npm run build:prod",
+    "lint:fix": "eslint . --fix",
     "lint": "eslint .",
     "mkdirp": "mkdirp",
     "plugin:def": "node bin/generate-plugin-definitions-source.js",