Closed rottencandy closed 3 years ago
@zeners @Kumaravinash9 I've added some editor defaults here, if you like extra options or more settings, we can add them in the config here.
@rottencandy, It could be much better if we add pipeline testing to check if the coding is formatted or not.
@rottencandy, It could be much better if we add pipeline testing to check if the coding is formatted or not.
@csoler would it be a good idea to add a GitHub action that runs a linter on every PR?
@rottencandy, we should also add a .prettierignore file for the folder make-src. So, it will not create any conflicts whenever we will run prettier.
Merging the PR, we can run eslint
locally for now.
And editorconfig should handle common syntax & indentation for all supported editors.
Everyone uses different editors/IDEs which have their own defaults. This creates lots of unimportant changes and inconsistency in commits.
Having default formats specified would make it easier to maintain standard stuff like indentations and quotes and a linter will also catch commonly occurring syntax bugs.