Closed fxmaxvl closed 8 years ago
Sounds good!
I'll start implement these rules soon. what about naming for this rules ? 1.requireSpacesInsideImportedObjectBrackets 2.requireSpacesBeforeImportDestructuredValues
I think ObjectBrackets
could be ObjectBraces or CurlyBraces or just Braces
, since brackets are usually [], braces {}? like array brackets and curly braces? Not sure
For requireSpacesBeforeImportDestructuredValues
, I think http://jscs.info/rule/requireSpaceAfterComma works?
For requireSpacesBeforeImportDestructuredValues, I think http://jscs.info/rule/requireSpaceAfterComma works?
mm, yes its really works.
Braces
Ok, requireSpacesInsideImportedBraces
What about rule for require spaces for import cases?
and(maybe for another rule):
and what about alignment cases?
but I'm not sure how we can detect alignment for very long import strings: