-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
area:apiIssues with Prettier's Application Programming InterfaceIssues with Prettier's Application Programming Interfacestatus:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken
Milestone
Description
Since we’re changing the defaults for several options in 2.0, I’ve decided to request that we do so for useTabs as well.
Tabs have several advantages over spaces:
- Always 1 byte per indentation level, regardless of tabstop width.
- Indent size is customisable (those of us who prefer 4 characters can use a tabstop width of 4, and those who prefer 2 characters can use a tabstop width of 2)
See also: #6888
leggsimon, j-mes, remybach, aendra-rininsland, nickramsbottom and 504 moreadambutler, alexander-akait, pluma, sosukesuzuki, icopp and 177 moremetal0, chalkygames123 and voytxtfbartho, rlacorne, unlocomqx, xiel, Moshyfawn and 41 moremetal0, mactkg and michaelfaithfregante, dantman, benthevining, avindra, trusktr and 50 moretrusktr, trezy, ydcjeff, avindra, TooTallNate and 25 morebrody4hire, Moshyfawn, third774, damienalexandre, avindra and 13 more
Metadata
Metadata
Assignees
Labels
area:apiIssues with Prettier's Application Programming InterfaceIssues with Prettier's Application Programming Interfacestatus:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken