You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have an idea for a new feature? Please fill out the sections below. 😊
Current Behaviour
Currently, there is no 'standard' in terms of formatting code.
Proposed Solution
Adding a prettier setup to the project, since it will standardize lots of the formatting on save, which will make the process of collaboration easier and smoother.
If I get assigned to do this (hopefully), I would like to be provided with these values:
printWidth : The line length where Prettier will try to wrap the code. If the line is longer than this value, Prettier will attempt to break it into multiple line.
tabWidth : Determines how many spaces Prettier uses for indentation. (Preferably 4).
useTabs : Can be true/false, helps prettier determine whether to use spacing or tabs for indentation.
bracketSpacing : Can either be true/false, if it is true, braces/brackets will seem like this { value: key }, if false it will seem like this: {value: key}.
arrowPens : can either be true/false, determines whether to wrap perimeters of arrow functions with parenthesis or no even though if it has exactly one parameter.
trailingComma : can either be true/false, simply determines whether to place trailing commas or no.
Those are simply the ones I thought that might be relevant and useful. I would like to hear your opinion.
Screenshot/Mockup (Optional)
Alternatives Considered
Additional Context
Requirement/Document
The text was updated successfully, but these errors were encountered:
Have an idea for a new feature? Please fill out the sections below. 😊
Current Behaviour
Currently, there is no 'standard' in terms of formatting code.
Proposed Solution
Adding a prettier setup to the project, since it will standardize lots of the formatting on save, which will make the process of collaboration easier and smoother.
If I get assigned to do this (hopefully), I would like to be provided with these values:
printWidth
: The line length where Prettier will try to wrap the code. If the line is longer than this value, Prettier will attempt to break it into multiple line.tabWidth
: Determines how many spaces Prettier uses for indentation. (Preferably 4).useTabs
: Can betrue
/false
, helps prettier determine whether to use spacing or tabs for indentation.bracketSpacing
: Can either betrue
/false
, if it is true, braces/brackets will seem like this{ value: key }
, if false it will seem like this:{value: key}
.arrowPens
: can either betrue
/false
, determines whether to wrap perimeters of arrow functions with parenthesis or no even though if it has exactly one parameter.trailingComma
: can either betrue
/false
, simply determines whether to place trailing commas or no.Those are simply the ones I thought that might be relevant and useful. I would like to hear your opinion.
Screenshot/Mockup (Optional)
Alternatives Considered
Additional Context
Requirement/Document
The text was updated successfully, but these errors were encountered: