Whats rule for indents?
js2me opened this issue · 4 comments
js2me commented
johnwiseheart commented
Can you provide more information here? What is your expected input and output?
js2me commented
@johnwiseheart solved. It was my bad
js2me commented
My tslint config https://github.com/js2me/ts-react-starter/blob/master/tslint.json
shubich commented
Thanks, tslint-config-prettier helps me!
List of my tslint dev-dependencies:
"tslint": "^5.12.1",
"tslint-config-airbnb": "^5.11.1",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^3.6.0",
My tslint.json:
{
"defaultSeverity": "error",
"extends": [
"tslint-config-airbnb",
"tslint-react",
"tslint-plugin-prettier"
],
"jsRules": {},
"rules": {
"prettier": [
true,
{
"singleQuote": true,
"trailingComma": "all"
}]
},
"rulesDirectory": []
}
Some default rules of prettier may conflict with extended. You will need to reassign them inside of prettier config to avoid permanent errors.