-
Notifications
You must be signed in to change notification settings - Fork 283
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
Format configs #1987
Format configs #1987
Conversation
.clang-tidy
Outdated
|
||
-modernize-use-nodiscard | ||
-modernize-concat-nested-namespaces | ||
-modernize-loop-convert | ||
-modernize-unary-static-assert | ||
-readability-redundant-declaration |
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.
Same issue here, empty line + no commas. Also, useless without c++17. Why not roll changes to this file into the c++17 PR?
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.
yeah, will remove the commit. Thoght .clang-tidy had to be changed from upload to take effect on workflow run.
[*.json] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space |
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 remove those? Are they the defaults?
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.
yes, all of its configs are inherited from [*], so there would be no need for it.
This reverts commit b14365c.
Summary
SUMMARY: Infrastructure "Format .clang-tidy and append .editorconfig"
Purpose of change
.editorconfig
does not have config for markdown and yaml where indent 2 is used.clang-tidy
's file extension isyaml
yet it's not formatted properlyDescribe the solution
.editorconfig
.clang-tidy
readability-identifier-length
because almost every file uses variables with 1~2 length and it's clogging error messages