-
Notifications
You must be signed in to change notification settings - Fork 19
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 a format checker to the CI pipeline #90
Add a format checker to the CI pipeline #90
Conversation
57a8f9f
to
1f8c835
Compare
I didn't know there was this, What do you think about replacing the plugin repository |
@bbrto21 The first-party plugins also follow the Google style (https://github.com/flutter/plugins/blob/master/.clang-format) so I think we can leave as it is. |
@swift-kim Oh, thank you for checking! |
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.
LGTM
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
* Format gn files * Format C/C++ files * Update azure-pipelines.yml * Rename the format job
format
job to the CI pipeline.The linter job will be added in the future.(The lint warning/errors will not be analyzed by the CI.).clang-format
file).For maintainers: The Chromium C/C++ style is slightly different from the Google C/C++ style, but you don't need any special configuration if everything works correctly. clang-format and the VS Code extension should just work out of the box. They will find the
.clang-format
file from the repository root automatically.To manually analyze code formatting, you can use either:
check_tidy.py --dir shell/platform/tizen
)ci/format.sh
)git remote add upstream https://github.com/flutter/engine.git