Closed
Description
I'm running into a conflict between @typescript-eslint/indent and the align rule in @typescript-eslint/tslint/config, specifically with regard to the alignment of parameters on my class constructors.
🐛 Bug Report
tslint-to-eslint-config
version: 0.2.5- ESLint version: 6.3.0
- Node version: 10.15.3
Actual Behavior
Expected indentation of x spaces but found x @typescript-eslint/indent
or
parameters are not aligned (tslint:align) @typescript-eslint/tslint/config
Expected Behavior
I don't really mind which convention is accepted as long as its consistent.
Reproduction
constructor(private router: Router,
private authenticationService: AuthenticationService,
private tokenService: TokenService) {}
constructor(private router: Router,
private authenticationService: AuthenticationService,
private tokenService: TokenService) { }
{
"rules": {
"@typescript-eslint/indent": [
"error",
2
],
"@typescript-eslint/tslint/config": [
"error",
{
"rulesDirectory": [
"**MyPath**"
],
"rules": {
"align": [
true,
"parameters",
"statements"
]
}
}
]
}
}