nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

.clang-tidy (1760B)


      1 ---
      2 Checks: >
      3     clang-diagnostic-*,
      4     clang-analyzer-*,
      5     readability-*,
      6     modernize-*,
      7     bugprone-*,
      8     misc-*,
      9     google-runtime-int,
     10     fuchsia-restrict-system-includes,
     11     -misc-unused-parameters,
     12     -misc-header-include-cycle,
     13     -misc-include-cleaner,
     14     -llvm-header-guard,
     15     -clang-analyzer-valist.Uninitialized,
     16     -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
     17     -clang-analyzer-security.insecureAPI.rand,
     18     -clang-analyzer-alpha.*,
     19     -modernize-macro-to-enum,
     20     -readability-magic-numbers,
     21     -readability-braces-around-statements,
     22     -readability-inconsistent-ifelse-braces,
     23     -readability-implicit-bool-conversion,
     24     -readability-redundant-parentheses,
     25     -readability-function-cognitive-complexity,
     26     -readability-identifier-length,
     27     -readability-isolate-declaration,
     28     -readability-suspicious-call-argument,
     29     -readability-avoid-nested-conditional-operator,
     30     -modernize-avoid-c-style-cast,
     31     -bugprone-unchecked-string-to-number-conversion,
     32     -bugprone-easily-swappable-parameters,
     33     -bugprone-narrowing-conversions,
     34     -bugprone-reserved-identifier,
     35     -bugprone-switch-missing-default-case,
     36     -bugprone-inc-dec-in-conditions,
     37     -bugprone-multi-level-implicit-pointer-conversion,
     38 
     39 WarningsAsErrors: '*'
     40 HeaderFilterRegex: '.*(?<!lookup3.c)$'
     41 FormatStyle: 'file'
     42 CheckOptions:
     43   - key:             readability-braces-around-statements.ShortStatementLines
     44     value:           '1'
     45   - key:             google-runtime-int.TypeSufix
     46     value:           '_t'
     47   - key:             fuchsia-restrict-system-includes.Includes
     48     value:           '*,-stdint.h,-stdbool.h'
     49   - key:             readability-function-size.StatementThreshold
     50     value:           '960'
     51 ...