awesome-linters

Code standardizer

A community-driven list of linters and static analysis tools for coding standards and best practices

A community-driven list of awesome linters.

GitHub

939 stars
29 watching
92 forks
last commit: 5 months ago
Linked from 1 awesome list

linterstatic-analysisstatic-analyzersstyle-linter

Awesome Linters / Linters / Language Agnostic

coala 3,554 12 months ago Language agnostic linter based on rules and standards. Written in Python
commitlint 16,995 about 1 month ago - commitlint checks if your commit messages meet the
MegaLinter Linters aggregator of 49 languages, 22 formats, 21 tooling formats , copy-pastes and spell. Can automatically apply fixes with commit or Pull Request
Scanmycode CE (Community Edition) 831 about 1 month ago - Code Scanning/SAST/Static Analysis/Linting using many tools/Scanners with One Report
tidyall an all-in-one code tidier and validator with many available backends, caching, filtering-by-paths, and some other features
violations-lib 148 4 months ago a library for parsing reports from static code analyzers. Can be used with Jenkins, Gradle, Maven and command line tools

Awesome Linters / Linters / Ansible

ansible-lint 3,520 about 1 month ago Checks playbooks for practices and behaviour that could potentially be improved

Awesome Linters / Linters / Awesome Lists

awesome-lint 614 8 months ago Linter for Awesome lists. Helps to create and maintain Awesome lists. Written in JavaScript

Awesome Linters / Linters / C/C++

clang-format Formats C/C++ code according to a coding style (Google, LLVM, Mozilla, Webkit, and Chromium available)
clang-tidy A clang-based C/C++ linter tool to provide an extensible framework for diagnosing and fixing typical programming errors
cppcheck Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives)
cpplint 1,601 about 2 months ago Source code checker for C/C++ files following Google's internal C++ style guide
oclint 3,782 about 2 months ago Static analysis for C, C++ and Objective-C. Written in C++
uncrustify 2,878 about 1 month ago Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA

Awesome Linters / Linters / CoffeeScript

@coffelint/cli 16 about 1 month ago Configurable linter written in CoffeScript to analyze CoffeScript

Awesome Linters / Linters / Crystal

ameba 525 about 1 month ago Static code analysis tool for Crystal

Awesome Linters / Linters / CSS

csslint 4,768 about 1 month ago CSS static analysis written in JavaScript. Uses pluggable rules
csscomb 3,289 about 2 years ago CSS tool that beautifies CSS based on a configuration. Helps with keeping CSS consistent. Written in JavaScript
ie8linter 725 over 1 year ago Static analysis for Internet Explorer 8 compatibility. Written in JavaScript
postcss-bem-linter 572 over 1 year ago Plugin for PostCSS to lint CSS according to . Written in JavaScript
stylelint CSS linter that is unopinionated, supports plugins and has a wide range of rules built-in. Written in JavaScript, it parses by default CSS-like syntaxes such as SCSS, Sass, Less and SugarSS

Awesome Linters / Linters / CSV

csvlint.rb 287 about 2 months ago The gem behind

Awesome Linters / Linters / Dart

linter 635 about 2 months ago Linter for Dart mostly focused on style lints. It's configurable but comes with configured rules out of the box. Written in Dart

Awesome Linters / Linters / Dockerfile

dockerfile_lint 85 about 2 years ago Rule based linter for Dockerfiles. The linter rules can be used to check file syntax as well as arbitrary semantic and best practice attributes determined by the rule file writer. The linter can also be used to check LABEL rules against docker images
Dockerfilelint 993 over 1 year ago Dockerfilelint is a node module that analyzes a Dockerfile and looks for common traps, mistakes and helps enforce best practices
Dockerlint 188 over 4 years ago Linting tool for Dockerfiles based on recommendations from Dockerfile Reference and Best practices for writing Dockerfiles as of Docker 1.6
hadolint 10,527 about 1 month ago Linter for Dockerfiles. The linter is parsing the Dockerfile into an AST and performs rules on top of the AST. It is standing on the shoulders of ShellCheck to lint the Bash code inside RUN instructions

Awesome Linters / Linters / Elixir

credo 4,946 about 1 month ago Static code analysis tool for the Elixir language with a focus on code consistency and teaching

Awesome Linters / Linters / Elm

elm-review 261 about 2 months ago Analyzes whole Elm projects, with a focus on shareable and custom rules written in Elm that add guarantees the Elm compiler doesn't give you

Awesome Linters / Linters / English

alex 4,823 about 2 months ago Linter to help catch insensitive writing in English. Written in JavaScript
proselint 4,368 6 months ago Linter for English that provides guidelines to make better writing. It has plugins for several editors and is configurable
textlint The pluggable linting tool for natural language texts

Awesome Linters / Linters / Env

dotenv-linter 1,844 3 months ago - ⚡️Lightning-fast linter for files. Written in Rust 🦀

Awesome Linters / Linters / EPUB

EPUBCheck 1,671 5 months ago a tool to validate the conformance of EPUB publications against the EPUB specifications. Can be run as a standalone command-line tool or used as a Java library

Awesome Linters / Linters / Erlang

elvis 425 about 1 month ago Configurable Erlang linter written in Erlang

Awesome Linters / Linters / Go

golangci-lint 15,863 about 1 month ago Linters Runner for Go. 5x faster than gometalinter. Nice colored output. Can report only new issues. Fewer false-positives. Yaml/toml config
golint 3,973 over 3 years ago Go style linter written in Go. Focus with coding styles more than with correctness
gometalinter 3,505 almost 6 years ago Concurrently run Go lint tools and normalise their output
go vet Examines Go source code and reports suspicious constructs

Awesome Linters / Linters / GraphQL

graphql-schema-linter 694 about 1 month ago - Validate GraphQL schema definitions against a set of rules

Awesome Linters / Linters / Groovy

npm-groovy-lint 210 about 1 month ago Validate, format and auto-fix Groovy, Jenkinsfile and Gradle files

Awesome Linters / Linters / Haskell

hlint 1,482 about 1 month ago Tool for suggesting possible improvements to Haskell code. These suggestions include ideas such as using alternative functions, simplifying code and spotting redundancies

Awesome Linters / Linters / Haxe

haxe-checkstyle 125 about 2 months ago Haxe Checkstyle is a static analysis tool to help developers write Haxe code that adheres to a coding standard

Awesome Linters / Linters / HTML

htmlhint 3,091 about 1 month ago HTMLHint is a Static Code Analysis Tool for HTML, you can use it with IDE or in build system
html-validate Offline HTML5 validator. Validates either a full document or a smaller (incomplete) template
bootlint 2,395 almost 3 years ago Bootlint is a tool that checks for several common HTML mistakes in webpages that are using Bootstrap
jinjalint 69 over 1 year ago A prototype linter which checks the indentation and the correctness of Jinja-like/HTML templates. Also supports Django Templates
LintHTML 87 3 months ago LintHTML is a fork of htmllint. It is extendable via plugins
Nu Html Checker 1,717 about 2 months ago An offline version of W3C's official validator for HTML, CSS, and SVG. Written in Java

Awesome Linters / Linters / Java

checkstyle 8,375 about 1 month ago Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard
findbugs Uses static analysis to look for bugs in Java code
pmd Static analyzer that finds common programming flaws. It supports Java, JavaScript, Salesforce.com Apex, PLSQL, Apache Velocity, XML, XSL
uncrustify 2,878 about 1 month ago Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA

Awesome Linters / Linters / JavaScript

clinton 122 about 5 years ago JavaScript project style linter
eslint 25,239 about 1 month ago Fully pluggable tool for identifying and reporting on patterns in JavaScript
jshint 8,986 over 1 year ago Community-driven tool that detects errors and potential problems in JavaScript code
prettier 49,629 about 1 month ago Opinionated JavaScript formatter inspired by refmt with advanced support for language features from ES2017, JSX, and Flow
putout 713 about 1 month ago Linter that fixes everything it can find, supports JS/TS/Flow and wrap ESLint (when exists)
quick-lint-js Finds bugs in JavaScript programs. Designed for editors
standard 29,169 4 months ago JavaScript style linter that allows no configuration
xo 7,713 about 1 month ago Opinionated but configurable ESLint wrapper with lots of goodies included. Enforces strict and readable code

Awesome Linters / Linters / Kotlin

ktlint 6,273 about 1 month ago An anti-bikeshedding Kotlin linter with built-in formatter

Awesome Linters / Linters / Lua

luacheck 367 about 1 month ago A tool for linting and static analysis of Lua code
lualint 85 over 1 year ago lualint performs luac-based static analysis of global variable usage in Lua source code

Awesome Linters / Linters / Markdown

markdownlint 4,868 about 1 month ago Node.js style checker and lint tool for Markdown/CommonMark files
mdl 1,831 about 1 year ago Check markdown files and flag style issues. Written in ruby and is distributed as a rubygem
remark-lint 949 6 months ago Written in JavaScript. remark-lint provides configurable Markdown style linting

Awesome Linters / Linters / npm

lockfile-lint 788 4 months ago Lint an npm or yarn lockfile to analyze and detect security issues
npm-package-json-lint 229 about 1 month ago - Configurable linter to enforce standards in npm package.json files

Awesome Linters / Linters / Objective-C

oclint 3,782 about 2 months ago Static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C. Written in C++
uncrustify 2,878 about 1 month ago Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA

Awesome Linters / Linters / OpenAPI (Swagger)

speccy 828 about 2 years ago A handy toolkit for OpenAPI, with a linter to enforce quality rules

Awesome Linters / Linters / Perl

perlcritic The leading static analyzer for Perl. Configurable, extensible, powerful
Perltidy a Perl code autoformatter/beautifier

Awesome Linters / Linters / PHP

phplint Node wrapper around the native php linter that allows for parallel linting and integration with build systems like Grunt, Gulp and more
PHP Mess Detector 2,342 3 months ago PHPMD can be seen as a user friendly and easy to configure frontend for the raw metrics measured by PHP Depend

Awesome Linters / Linters / Polymer

polylint 116 about 7 years ago Catch errors in your polymer project before even running your code. Written in TypeScript

Awesome Linters / Linters / Pug

pug-lint 228 almost 2 years ago — An unopinionated and configurable linter and style checker for Pug (formerly Jade)

Awesome Linters / Linters / Puppet

puppet-lint 818 over 1 year ago Test modules and manifests against the recommended Puppet style guidelines from the Puppet Labs style guide. Written in Ruby

Awesome Linters / Linters / Python

black 39,308 about 1 month ago The uncompromising Python code formatter. Blackened code looks the same regardless of the project you're reading
flake8 3,481 3 months ago Runs PyFlakes, pycodestyle and other tools from only one CLI. Written in Python
pycodestyle (formerly called pep8) 5,050 3 months ago - Tool to check your Python code against some of the style conventions in PEP 8
pylint 5,351 about 1 month ago Source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells
ruff 33,816 about 1 month ago An extremely fast Python linter, written in Rust which is orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface
wemake-python-styleguide 2,574 about 1 month ago - The strictest and most opinionated python linter ever
yala 16 over 1 year ago YALA combines many linters to improve the quality of your code

Awesome Linters / Linters / Rego

regal 267 about 1 month ago Regal is a linter for the policy language . Regal aims to catch bugs and mistakes in policy code, while at the same time helping people learn the language, best practices and idiomatic constructs

Awesome Linters / Linters / reStructuredText

doc8 Doc8 is an opinionated style checker for rst (with basic support for plain text) styles of documentation. Notice, it does not support additional sphinx extensions. Project is also available on or
reStructuredText Lint 171 over 2 years ago - Validate reST files either as a module or from a CLI utility. Written in Python

Awesome Linters / Linters / Ruby

rubocop 12,664 about 1 month ago Ruby static code analyzer. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide

Awesome Linters / Linters / Rust

rust-clippy 106 3 months ago Collection of lints to catch common mistakes and improve your Rust code

Awesome Linters / Linters / SaltStack

salt-lint 154 5 months ago A command-line utility that checks for best practices in SaltStack

Awesome Linters / Linters / Sass

sass-lint 1,767 about 1 year ago Node-only Sass linter for both sass and scss syntax
scss-lint 3,656 about 1 year ago Tool to help keep your SCSS files clean and readable by running it against a collection of configurable linter rules
stylelint CSS linter that is unopinionated, supports plugins and has a wide range of rules built-in. Written in JavaScript, it parses by default CSS-like syntaxes such as SCSS, Sass, Less and SugarSS

Awesome Linters / Linters / Scala

linter 268 over 6 years ago Scala static analysis compiler plugin which adds compile-time checks for various possible bugs, inefficiencies, and style problems
scalastyle Examines your Scala code and indicates potential problems with it. Similar to Checkstyle for Java
scapegoat 533 about 1 month ago Another similar tool to Checkstyle for Java. Flags suspicious language usage in code
wartRemover Flexible and configurable Scala linter written in Scala

Awesome Linters / Linters / Shell

shellcheck 36,593 about 2 months ago Gives warnings and suggestions for bash/sh shell scripts
shfmt 7,376 about 2 months ago a shell (POSIX shell / bash / mksh) parser, formatter, and interpreter written in Go 1.13-and-above

Awesome Linters / Linters / SQL

sqlfluff 8,349 about 1 month ago SQLFluff is a dialect-flexible and configurable SQL linter

Awesome Linters / Linters / Swift

swiftlint 18,718 about 1 month ago Tool to enforce Swift style and conventions, loosely based on GitHub's Swift Style Guide

Awesome Linters / Linters / TypeScript

tslint 5,903 almost 4 years ago Customizable TypeScript linter with automatic fixing of formating and style violations

Awesome Linters / Linters / YAML

spectral 2,565 about 2 months ago A flexible JSON/YAML linter, with out of the box support for OpenAPI v2/v3 and AsyncAPI v2
yamllint 2,921 about 2 months ago Linter for YAML files

Backlinks from these awesome lists:

More related projects: