Skip to content

Commit fd30d67

Browse files
use single quotes and lint on hooks
1 parent c8b4971 commit fd30d67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"coverage:production": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
1414
"clean": "rimraf dist",
1515
"build": "rollup -c",
16-
"precommit": "npm test",
17-
"prepublish": "npm run clean && npm test && npm run build"
16+
"precommit": "npm test && npm run lint",
17+
"prepublish": "npm run clean && npm test && npm run lint && npm run build"
1818
},
1919
"eslintConfig": {
2020
"extends": "airbnb",

src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function printBuffer(buffer, options) {
126126
}
127127

128128
if (logger.withTrace) {
129-
logger.groupCollapsed(`TRACE`);
129+
logger.groupCollapsed('TRACE');
130130
logger.trace();
131131
logger.groupEnd();
132132
}

0 commit comments

Comments
 (0)