-
-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
formatting setup #3196
base: master
Are you sure you want to change the base?
formatting setup #3196
Conversation
e4f2a86
to
6984a78
Compare
@@ -20,7 +20,8 @@ cordova/bundle.keystore | |||
.DS_store | |||
|
|||
# artefacts for Visual Studio Code | |||
/.vscode/ | |||
.vscode/* | |||
!.vscode/extensions.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@McGiverGim Adding this so that we can recommend some extensions as well as having the commit hooks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'm not too sure if this will work if the user has its own file.
"no-trailing-spaces": "error", | ||
"eol-last": "error", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these removed? Maybe they are included in other part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly, formatter (pretier) is handling these kind of things better.
linter
(eslint) is better for enforcing/discouraging specific patterns.
* add pre-commit hooks to lint stage files * prettier setup * eslint setup
6984a78
to
ad05ecc
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week. |
Closing this as there seems to be no traction |
@chmelevskij sorry we simply did not get time for this. |
Lol, just saw you re-opened this 🫣 |
Yes this would be helpful 🤞 |
But needs a rebase 🙈 |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
This would be great! I would migrate to Prettier formatting. |
There is a separate PR #3197 which actually applies all these changes. Keeping separate for clarity.