mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
style: add prettier requirement
This commit is contained in:
parent
cc722e301c
commit
0a67b7c1bd
3
.prettierignore
Normal file
3
.prettierignore
Normal file
@ -0,0 +1,3 @@
|
||||
coverage
|
||||
.github
|
||||
.nyc_output
|
||||
@ -33,7 +33,8 @@
|
||||
"node": ">=8.0"
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
|
||||
"pretest": "prettier --check . && eslint \"lib/**/*.js\" \"test/**/*.js\"",
|
||||
"prettier:fix": "prettier --write .",
|
||||
"test": "tap \"test/tap/**/*.js\" --cov --timeout=45",
|
||||
"typings": "tsc -p types/tsconfig.json",
|
||||
"codecov": "tap \"test/tap/**/*.js\" --cov --coverage-report=lcov && codecov"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user