camicroscope / Caracal

Conslidated Backend, Auth, and Security Services for caMicroscope
GNU General Public License v3.0
15 stars 95 forks source link

Central style config file #73

Open YashKumarVerma opened 3 years ago

YashKumarVerma commented 3 years ago

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

Additional context

Willing to work on it after discussion from mods.

YashKumarVerma commented 3 years ago

@birm ping 🔔

birm commented 3 years ago

You can always submit a PR if you think a change is beneficial

mks2002 commented 1 year ago

Is this issue resolved ? I want to contribute on this.