-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status: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
Description
Thanks for making this!
With 1.0 released; Finally we can adopt this in our company. I just wanted to open this issue in the hope it could be added as an option for future releases.
Basically adding spaces between parens and brackets.
Function arguments:
So:
function foo( one, two, three ){Instead of
function foo(one, two, three){Arrays:
var array = [ 1, 2, 3, 4 ]instead of:
var array = [1, 2, 3, 4]Methods:
array.slice( 0, 1 )instead of
array.slice(0, 1)This is an actual option in ESLint so I'm sure there are people using this and not just us. For me its so much easier to read a code with consistent spacing. Here's hoping you would consider this change.
tdehart, mcdeguzman99, bedeoverend, sunnylost, chiefjester and 29 morertsao, simonkberg, jdreesen, darahak, MartijnHols and 4 morepaulocoghi, Norfeldt, robiXxu and patricio-ezequiel-hondagneu-roig
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status: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