Browse Source

[misc] monkey patch prettier-eslint basepath

Jakob Ackermann 6 years ago
parent
commit
97407980db
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libraries/logger/package.json

+ 2 - 2
libraries/logger/package.json

@@ -10,8 +10,8 @@
   "version": "2.1.1",
   "version": "2.1.1",
   "scripts": {
   "scripts": {
     "test": "mocha test/**/*.js",
     "test": "mocha test/**/*.js",
-    "format": "prettier-eslint '**/*.js' --list-different",
-    "format:fix": "prettier-eslint '**/*.js' --write",
+    "format": "prettier-eslint $PWD'**/*.js' --list-different",
+    "format:fix": "prettier-eslint $PWD'**/*.js' --write",
     "lint": "eslint -f unix ."
     "lint": "eslint -f unix ."
   },
   },
   "dependencies": {
   "dependencies": {