Skip to content

Conversation

@kapilmb
Copy link

@kapilmb kapilmb commented Jun 20, 2017

Adds a Kind switch to the PSUseConsistentIndentationRule rule which for now takes either space or tab as input. If space input is provided the rule will set 1 unit of indentation as IndentationSize number of spaces otherwise \t.


$indentationUnit = ' '
$indentationSize = 4
$ruleConfiguration = @{
Copy link
Contributor

Choose a reason for hiding this comment

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

Heh, looks like you used the formatter to format your formatter test script, nice!

@kapilmb
Copy link
Author

kapilmb commented Jun 20, 2017

thanks @daviwil !

@kapilmb kapilmb merged commit fadcfa6 into development Jun 20, 2017
@kapilmb kapilmb deleted the kapilmb/tab-indentation branch June 20, 2017 22:30
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.

4 participants