Browse Source

Simplify linting script globs

maurelian 6 years ago
parent
commit
b2951144be
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 test/*.js migrations/*.js",
-    "lint:js": "eslint test/**/*.js test/*.js migrations/*.js",
+    "fix:js": "eslint --fix test/** migrations/**",
+    "lint:js": "eslint test/** migrations/**",
     "lint:sol": "solhint contracts/*.sol contracts/*/*.sol test/*.sol test/*/*.sol",
     "lint": "npm run lint:js && npm run lint:sol",
     "publish": "truffle publish",