Skip to content

Clean code linters

Code linters will report any code typos to you when you're learning to code. Make sure your code is style guide compliant with these essential code linters. Many of the linters here are already supported in your editor!

19 repositories 9 languages Last updated
  • JavaScript 6,166 1,306
    @jshint

    jshint / jshint

    JSHint is a community-driven tool to detect errors and potential problems in JavaScript code. It is very flexible so you can easily adjust it to your particular coding guidelines and the environment you expect your code to execute in.

  • Ruby 6,050 788
    @bbatsov

    bbatsov / rubocop

    RuboCop is a Ruby static code analyzer. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide.

  • JavaScript 4,921 540
    @jscs-dev

    jscs-dev / node-jscs

    JavaScript Code Style checker
  • JavaScript 4,598 254
    @feross

    feross / standard

    JavaScript Standard Style

  • JavaScript 4,416 871
    @eslint

    eslint / eslint

    ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. In many ways, it is similar to JSLint and JSHint with a few exceptions:

    • ESLint uses Esprima for JavaScript parsing.
    • ESLint uses an AST to evaluate patterns in code.
    • ESLint is completely pluggable, every single rule is a plugin and you can add more at runtime.
  • Haskell 3,515 184
    @koalaman

    koalaman / shellcheck

    ShellCheck, a static analysis tool for shell scripts. Automatically detects problems with sh/bash scripts and commands.

  • JavaScript 3,108 399
    @CSSLint

    CSSLint / csslint

    CSSLint is a tool to help point out problems with your CSS code. It does basic syntax checking as well as applying a set of rules to the code that look for problematic patterns or signs of inefficiency. The rules are all pluggable, so you can easily write your own or omit ones you don't want.

  • Ruby 2,147 283
    @brigade

    brigade / scss-lint

    scss-lint is a tool to help keep your SCSS files clean and readable.

  • JavaScript 1,629 220
    @csscomb

    csscomb / csscomb.js

    CSS coding style formatter
  • Python 1,514 331
    @PyCQA

    PyCQA / pycodestyle

    Simple Python style checker in one Python file
  • Go 1,282 138
    @golang

    golang / lint

    This is a linter for Go source code.
  • C++ 1,255 166
    @oclint

    oclint / oclint

    A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
  • JavaScript 1,085 115
    @yaniswang

    yaniswang / HTMLHint

    HTMLHint is a Static Code Analysis Tool for HTML, you can use it with IDE or in build system.

  • Java 969 433
    @checkstyle

    checkstyle / checkstyle

    Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
  • CoffeeScript 774 147
    @clutchski

    clutchski / coffeelint

    CoffeeLint is a style checker that helps keep CoffeeScript code clean and consistent. CoffeeScript does a great job at insulating programmers from many of JavaScript's bad parts, but it won't help enforce a consistent style across a code base. CoffeeLint can help with that.

  • Python 769 67
    @pre-commit

    pre-commit / pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.
  • Ruby 587 148
    @rodjek

    rodjek / puppet-lint

    Check that your Puppet manifest conform to the style guide. The goal of this project is to implement as many of the recommended Puppet style guidelines from the Puppet Labs style guide as practical.

  • Haskell 288 43
    @ndmitchell

    ndmitchell / hlint

    HLint is a tool for suggesting possible improvements to Haskell code. These suggestions include ideas such as using alternative functions, simplifying code and spotting redundancies.

  • Erlang 173 43
    @inaka

    inaka / elvis

    Erlang Style Reviewer
Sign up for free to get involved with these projects and more. Already have an account? Sign in now
Something went wrong with that request. Please try again.