add tslint-config-prettier

This commit is contained in:
Rinat Arsaev 2019-01-30 16:09:02 +03:00
parent fba3daea4a
commit c618e1979a
3 changed files with 8 additions and 1 deletions

6
package-lock.json generated
View File

@ -7978,6 +7978,12 @@
}
}
},
"tslint-config-prettier": {
"version": "1.17.0",
"resolved": "https://registry.npmjs.org/tslint-config-prettier/-/tslint-config-prettier-1.17.0.tgz",
"integrity": "sha512-NKWNkThwqE4Snn4Cm6SZB7lV5RMDDFsBwz6fWUkTxOKGjMx8ycOHnjIbhn7dZd5XmssW3CwqUjlANR6EhP9YQw==",
"dev": true
},
"tslint-loader": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/tslint-loader/-/tslint-loader-3.5.3.tgz",

View File

@ -76,6 +76,7 @@
"script-loader": "~0.7.0",
"style-loader": "~0.18.2",
"tslint": "~5.8.0",
"tslint-config-prettier": "^1.17.0",
"tslint-loader": "~3.5.3",
"typescript": "~2.5",
"url-loader": "~0.5.9",

View File

@ -1,6 +1,6 @@
{
"rulesDirectory": ["node_modules/codelyzer"],
"extends": "tslint:recommended",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"quotemark": [true, "single"],
"trailing-comma": false,