0.2.0-dev Download ZIP
30 lines ·1.3 KB Raw
| 1 | # If you change this file, please format all files of the codebase as part of your PR: |
| 2 | # prek run --hook-stage manual clangd-tidy --all |
| 3 | |
| 4 | Checks: |
| 5 | - -* |
| 6 | - bugprone-use-after-move |
| 7 | - modernize-deprecated-headers |
| 8 | - modernize-redundant-void-arg |
| 9 | - modernize-use-bool-literals |
| 10 | - modernize-use-default-member-init |
| 11 | - modernize-use-nullptr |
| 12 | - performance-move-const-arg |
| 13 | - readability-braces-around-statements |
| 14 | - readability-identifier-naming |
| 15 | - readability-operators-representation |
| 16 | - readability-redundant-member-init |
| 17 | HeaderFileExtensions: ["", h, hh, hpp, hxx, inc, glsl] |
| 18 | ImplementationFileExtensions: [c, cc, cpp, cxx, m, mm, java] |
| 19 | HeaderFilterRegex: (core|doc|drivers|editor|main|modules|platform|scene|servers|tests)/ |
| 20 | FormatStyle: file |
| 21 | CheckOptions: |
| 22 | modernize-deprecated-headers.CheckHeaderFile: true |
| 23 | modernize-use-bool-literals.IgnoreMacros: false |
| 24 | modernize-use-default-member-init.IgnoreMacros: false |
| 25 | modernize-use-default-member-init.UseAssignment: true |
| 26 | readability-identifier-naming.ParameterCase: lower_case |
| 27 | readability-identifier-naming.ParameterIgnoredRegexp: ^r_[a-z0-9_]*[a-z0-9]$ |
| 28 | readability-identifier-naming.ParameterPrefix: p_ |
| 29 | readability-operators-representation.BinaryOperators: "&&;&=;&;|;~;!;!=;||;|=;^;^=" |
| 30 | readability-operators-representation.OverloadedOperators: "&&;&=;&;|;~;!;!=;||;|=;^;^=" |