tslint-config-prettier helps
List of tslint dev-dependencies:
"tslint": "^5.12.1",
"tslint-config-airbnb": "^5.11.1",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^3.6.0",
tslint.json:
{
"defaultSeverity": "error",
"extends": [
"tslint-config-airbnb",
"tslint-react",
"tslint-plugin-prettier"
],
"jsRules": {},
"rules": {
"prettier": [
true,
{
"singleQuote": true,
"trailingComma": "all"
}]
},
"rulesDirectory": []
}
Note that some default rules of prettier may conflict with extended. You will need to reassign them inside of prettier config to avoid permanent errors.