diff --git a/.clang-tidy b/.clang-tidy index 4e7c235..6bac0f1 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -11,3 +11,20 @@ performance-*, portability-*, readability-*' FormatStyle: file +CheckOptions: + concurrency-mt-unsafe.FunctionSet: posix + # See https://google.github.io/styleguide/cppguide.html + readability-identifier-naming.ConstantCase: CamelCase + readability-identifier-naming.ConstantPrefix: k + readability-identifier-naming.ConstantMemberCase: CamelCase + readability-identifier-naming.ConstantMemberPrefix: k + readability-identifier-naming.ConstantParameterCase: lower_case + readability-identifier-naming.EnumCase: CamelCase + readability-identifier-naming.EnumConstantCase: CamelCase + readability-identifier-naming.EnumConstantPrefix: k + readability-identifier-naming.FunctionCase: CamelCase + readability-identifier-naming.MemberCase: lower_case + readability-identifier-naming.ParameterCase: lower_case + readability-identifier-naming.StructCase: CamelCase + readability-identifier-naming.TypedefCase: CamelCase + readability-identifier-naming.VariableCase: lower_case diff --git a/.editorconfig b/.editorconfig index 9b9f51f..bd339a8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,8 +2,13 @@ root = true [*] charset = utf-8 +end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true +[*.{h,c}] +indent_style = space +indent_size = 2 + [*.md] trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index b5dc14a..56f3714 100644 --- a/.gitignore +++ b/.gitignore @@ -175,3 +175,7 @@ fabric.properties # Android studio 3.1+ serialized cache file .idea/caches/build_file_checksums.ser + + +# Added by the developer +!/.vscode/c_cpp_properties.json diff --git a/.idea/cmake.xml b/.idea/cmake.xml new file mode 100644 index 0000000..e66f78a --- /dev/null +++ b/.idea/cmake.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index aa4c426..251c8b6 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -21,6 +21,7 @@ +