-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsRule converter with incomplete, incorrect, or invalid rule names and/or argumentsstatus: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨
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-configversion: 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"
]
}
}
]
}
}Metadata
Metadata
Assignees
Labels
area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsRule converter with incomplete, incorrect, or invalid rule names and/or argumentsstatus: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨