Browse Source

style: add prettier

fixTypes
d-yokoi 6 years ago
parent
commit
c74ab67ccf
No known key found for this signature in database GPG Key ID: 49EAF81BC6A0D19A
  1. 0
      .prettierignore
  2. 4
      .prettierrc.json
  3. 2
      package.json

0
.prettierignore

4
.prettierrc.json

@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}

2
package.json

@ -19,6 +19,7 @@
"coverage-report": "npm run build && npm run nobuild:coverage-report",
"coverage-html": "npm run build && npm run nobuild:coverage-html",
"coverage": "npm run build && npm run nobuild:coverage",
"format": "prettier ts_src/*.ts ts_src/**/*.ts --ignore-path ./.prettierignore --write",
"integration": "npm run build && npm run nobuild:integration",
"nobuild:coverage-report": "nyc report --reporter=lcov",
"nobuild:coverage-html": "nyc report --reporter=html",
@ -68,6 +69,7 @@
"minimaldata": "^1.0.2",
"mocha": "^5.2.0",
"nyc": "^11.8.0",
"prettier": "^1.16.4",
"proxyquire": "^2.0.1",
"standard": "^11.0.1",
"typescript": "3.2.2",

Loading…
Cancel
Save