-
Notifications
You must be signed in to change notification settings - Fork 58
Add Prettier with tslint plugin and precommit hook #374
Conversation
M, | ||
T, | ||
O | ||
> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of ugly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah agreed there are some cases where it's not always actually "prettier" :)
data.append(decodeURIComponent(name), decodeURIComponent(value)); | ||
} | ||
}); | ||
text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did prettier break this out into separate lines but left line 153 alone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like prettier's opinions on code formatting. :)
I commented on a couple things that seem weird but I don't expect them to be fixed.
Thanks @edhager |
Type: feature
The following has been addressed in the PR:
Description:
Adds support for
Prettier
to for code style rules and formatting. Include precommit hook that runs prettier on all.ts
files and an npm script that runs prettier against the codebase.Related to dojo/meta#206