-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
status: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨type: bugSomething isn't workingSomething isn't working
Description
💥 Incomplete Converter
tslint-to-eslint-configversion: 0.2.8typescript-eslintversion: 2.5.0
TSLint Rule Name
indent has a converter to @typescript-eslint/indent but it does not map the options over.
TSLint's indent rule supports options of tabs or spaces and 2 or 4 indent width in the case of space indentation.
Sample TSLint config:
{
"rules": {
"indent": [ true, "spaces", 2 ]
}
}
Expected output:
"rules": {
"@typescript-eslint/indent": [ "error", 2 ]
}
Actual output:
"rules": {
"@typescript-eslint/indent": "error"
}
feimosi
Metadata
Metadata
Assignees
Labels
status: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨type: bugSomething isn't workingSomething isn't working