Browse Source

Fix linting scripts

maurelian 6 years ago
parent
commit
746f21be9d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -8,8 +8,8 @@
   },
   "scripts": {
     "compile": "truffle compile",
-    "fix:js": "eslint --fix test/**/*.js migrations/**/*.js",
-    "lint:js": "eslint test/**/*.js migrations/**/*.js",
+    "fix:js": "eslint --fix test/**/*.js test/*.js migrations/*.js",
+    "lint:js": "eslint test/**/*.js 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",