Skip to content

Conversation

jeremyyap
Copy link
Contributor

PR Checklist

Overview

This PR adds mapping of the rule arguments from TSLint indent to @typescript-eslint/indent`.

TSLint's indent rule accepts 2 arguments: indent type (required) and indent size (optional). I was unsure how indent size would work in the case of tab indentation but from looking at TSLint source, the second argument is ignored in the case of "tabs" indentation.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet. Thanks @jeremyyap!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 2982f98 into typescript-eslint:master Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indent converter does not map options

2 participants