Browse Source

Do not automatically fix when linting

Mike Goldin 6 years ago
parent
commit
cfeb739596
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -8,7 +8,8 @@
   },
   "scripts": {
     "compile": "truffle compile",
-    "lint:js": "eslint --fix test/**/*.js migrations/**/*.js",
+    "fix:js": "eslint --fix test/**/*.js migrations/**/*.js",
+    "lint:js": "eslint test/**/*.js migrations/**/*.js",
     "lint:sol": "solhint contracts/*.sol contracts/*/*.sol test/*.sol test/*/*.sol",
     "lint": "npm run lint:js && npm run lint:sol",
     "publish": "truffle publish",