-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add .editorconfig file #14271
Add .editorconfig file #14271
Conversation
@ladislas, thank you for your changes. |
This pull request has automatically been marked as stale because it has had no recent activity. @0xc0170, @hugueskamba, @ARMmbed/mbed-os-maintainers, please complete review of the changes to move the PR forward. Thank you for your contributions. |
@ladislas What's your experience with this along with our coding style (using astyle formatter) ? |
@0xc0170 yes absolutely. Just to make sure you don't forget to trim trailing whitespaces, add an empty line at the end of a file, set the correct indentation (tab vs space, 2/4/8 length), etc. We don't use astyle in our project, we use clang-format, and we had absolutely no issues. editorconfig is really generic and will not interfere in formatting for example. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged. |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
92c3167
to
2e53109
Compare
2e53109
to
b23a8eb
Compare
Pull request has been modified.
CI restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Jenkins CI Test : ✔️ SUCCESSBuild Number: 3 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Following comment #14199 (comment), this PR adds and .editorconfig file. From https://editorconfig.org/
Impact of changes
No impact. Contributor can simply install the plugin in their favorite editor (https://editorconfig.org/#download) and formatting will happen automatically.
Codeclimate can also check for EditorConfig compliance, useful for PRs. https://docs.codeclimate.com/docs/editorconfig
Migration actions required
none
Documentation
Maybe ask people to install the plugin?
Pull request type
Test results
Reviewers
@0xc0170 @hugueskamba