pre-commit-hooks
OCLint
pre-commit-hooks | OCLint | |
---|---|---|
1 | 1 | |
289 | 3,717 | |
- | 0.0% | |
0.0 | 0.0 | |
about 1 month ago | almost 2 years ago | |
Python | C++ | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pre-commit-hooks
-
C/C++ pre-commit hooks for static analyzers and linters
I maintain pre-commit hooks for C/C++ linters and static analyzers using the pre-commit framework. These allow you to verify that your code is free of common errors and to format it consistently. Included are
OCLint
-
C/C++ pre-commit hooks for static analyzers and linters
and five C/C++ static code analyzers: * clang-tidy * oclint * cppcheck * cpplint (recently added!) * include-what-you-use (recently added!)
What are some alternatives?
cpp-linter-action - A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of file-annotations, thread-comments, workflow step-summary, and Pull Request reviews.
SwiftLint - A tool to enforce Swift style and conventions.
cmake-lint - Fork of https://github.com/richq/cmake-lint to continue maintenance
Tailor - Cross-platform static analyzer and linter for Swift.
include-what-you-use - A tool for use with clang to analyze #includes in C and C++ source files
ocstyle - Objective-C style checker
Cppcheck - static analysis of C/C++ code
SwiftCop - SwiftCop is a validation library fully written in Swift and inspired by the clarity of Ruby On Rails Active Record validations.
cpplint - Static code checker for C++
SwiftFormat - A command-line tool and Xcode Extension for formatting Swift code
uncrustify - Code beautifier