Skip to content

Commit

Permalink
add prettier and tslint packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-kitsune authored and jsdevel committed Dec 20, 2018
1 parent 2e995d8 commit 386b733
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
171 changes: 171 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"combine-coverage": "istanbul-combine packages/*/coverage/coverage*.json",
"coveralls": "cat ./coverage/lcov.info | coveralls -v",
"lint": "tslint ./packages/**/*.[j,t]s",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down Expand Up @@ -37,9 +38,13 @@
"istanbul-combine": "0.3.0",
"mocha": "5.2.0",
"nyc": "13.0.1",
"prettier": "^1.15.3",
"source-map-support": "0.5.9",
"supertest": "3.3.0",
"ts-node": "7.0.1",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "2.9.2"
}
}
21 changes: 21 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"jsRules": {
"no-console": false,
"object-literal-sort-keys": false,
"prettier": true
},
"rules": {
"interface-name": false,
"no-console": false,
"no-var-requires": false,
"object-literal-sort-keys": false,
"prettier": true
},
"rulesDirectory": []
}

0 comments on commit 386b733

Please sign in to comment.