Skip to content

Leading and trailing space when formatting without pipes #7

@droberts-sea

Description

@droberts-sea

When formatting with the "Keep First And Last Pipes" option disabled, one space character is inserted before each line, and spaces are included at the end of each line up to the padding limit. IMO it would look better without (particularly the leading space).

Here's a copy-paste. It's much more pronounced if you see it in an editor that displays whitespace.

 Attribute  | Description                                      | Rules                                                                                           
------------|--------------------------------------------------|-------------------------------------------------------------------------------------------------
 vehicle_id | The driver's Vehicle Identification Number (VIN) | String of length 17. Raise an `ArgumentError` if it's the wrong length.                         
 status     | Is this `Driver` available to drive?             | Must be one of `:AVAILABLE` or `:UNAVAILABLE`                                                 
 trips      | A list of trips this driver has driven           | Optional parameter. If not provided, initialize to an empty array (similar to `Passenger`).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions