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
Is your feature request related to a problem? Please describe.
All modern IDE's come with auto-format features, and if they don't find a config file in the project, they use the default one. This can be problematic as some dev would share a 4 space tab and other would share a 2 spaced tab, spacing in functions, curly brackets, line length etc.
Describe the solution you'd like
A config file (.prettierrc ?), configured to the style guide being used in the project.
also a stricter linter that takes into account the common practices that can cause undefined behavior. The current configuration allows using var even when its known that it can create issues. Are there any particular reasons for lenient linting rules?
Describe alternatives you've considered
Adding pre-commit hooks to format the codebase when user commits can also be done in addition to the above.
A stricter linting ruleset (maybe derived from a well-known style like AirBNB)
Is your feature request related to a problem? Please describe.
All modern IDE's come with auto-format features, and if they don't find a config file in the project, they use the default one. This can be problematic as some dev would share a
4 space tab
and other would share a2 spaced tab
, spacing in functions, curly brackets, line length etc.Describe the solution you'd like
A config file (.prettierrc ?), configured to the style guide being used in the project.
also a stricter linter that takes into account the common practices that can cause undefined behavior. The current configuration allows using var even when its known that it can create issues. Are there any particular reasons for lenient linting rules?
Describe alternatives you've considered
Additional context
Willing to work on it after discussion from mods.
The text was updated successfully, but these errors were encountered: