Linter

Top 23 Linter Open-Source Projects

  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  • Project mention: How I use Devbox in my Elm projects | dev.to | 2024-05-02

    These projects use Caddy as my local development server, Dart Sass for converting my Sass files to CSS, elm, elm-format, elm-optimize-level-2, elm-review, elm-test (only in Calculator), ShellCheck to find bugs in my shell scripts, and Terser to mangle and compress JavaScript code.

  • Standard

    🌟 JavaScript Style Guide, with linter & automatic code fixer

  • Project mention: Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects | dev.to | 2024-05-05

    Sorry, I've gone too far. I'm not here to persuade you to use Standard JS. My intention is to provide information and guidance on configuring JavaScript Standard Style for your team, should you agree with me or have other reasons to choose it.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • ruff

    An extremely fast Python linter and code formatter, written in Rust.

  • Project mention: Ruff: The Extensible Python Linter | dev.to | 2024-05-07

    Ruff is an open-source Python linter created by Astral Sh that stands out for its impressive speed, adaptability, and wide-ranging features.

  • ESLint

    Find and fix problems in your JavaScript code.

  • Project mention: How to make ESLint and Prettier work together? 🛠️ | dev.to | 2024-05-05

    Let's be honest - setting up tools for a new project can be a frustrating process. Especially when you want to jump straight to coding part. This is often the case with ESLint and Prettier, two popular tools in the JavaScript ecosystem that can sometimes interfere with each other when it comes to code formatting. Fortunately, there's a simple solution to this process, and it's called eslint-plugin-prettier.

  • SwiftLint

    A tool to enforce Swift style and conventions.

  • Project mention: A problem when adding Swiftlint as a dependency on my won package? | /r/swift | 2023-10-27
  • mypy

    Optional static typing for Python

  • Project mention: The GIL can now be disabled in Python's main branch | news.ycombinator.com | 2024-03-11
  • golangci-lint

    Fast linters Runner for Go

  • Project mention: makefile para projetos em Go | dev.to | 2024-02-19
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ale

    Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support

  • Project mention: A decent VS Code and Ruby on Rails setup | news.ycombinator.com | 2024-02-21

    I saw no mention of RBS+Steep, the latter providing a LSP. I use it a lot and very much like it, although it's still young and needs love, but it's making good, steady progress! I've been very pleasantly surprised by some of the crazy things Steep can catch, completely statically!

    You appear to be working on projects with Sorbet (which I tried to like but found it fell short in practice, notably outside of the app use case i.e it's mostly useless for gems) so it may be a tall order to try on those. Maybe you can give RBS+Steep a shot on some small project?

    RBS: https://github.com/ruby/rbs

    RBS collection (for those gems that don't ship RBS signatures in `sig`, integrates with bundler): https://github.com/ruby/gem_rbs_collection

    Steep: https://github.com/soutaro/steep

    VS Code: https://github.com/soutaro/steep-vscode

    Sublime Text: https://github.com/sublimelsp/LSP

    Vim (I'm working on it): https://github.com/dense-analysis/ale/pull/4671

  • lint-staged

    🚫💩 — Run linters on git staged files

  • Project mention: Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes | dev.to | 2024-05-05

    lint-staged is the second important tools we need here, install it via NPM.

  • static-analysis

    ⚙️ A curated list of static analysis (SAST) tools and linters for all programming languages, config files, build tools, and more. The focus is on tools which improve code quality.

  • Project mention: Static Analysis Tools for C | news.ycombinator.com | 2023-10-26

    Readers should also peruse the 'Multiple languages' section, many of the big names, Coverity, Klocwork et al. are listed there.

    see https://github.com/analysis-tools-dev/static-analysis#multip...

  • rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

  • Project mention: Utilities for refactoring and upgrading Ruby code based on ASTs | news.ycombinator.com | 2024-05-06

    https://github.com/rubocop/rubocop/issues/8091#issuecomment-...

    perhaps they are biased against the tool from participating in a campaign to police the name in the past.

  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  • Project mention: How to setup Black and pre-commit in python for auto text-formatting on commit | dev.to | 2024-03-29

    Today we are going to look at how to setup Black (a python code formatter) and pre-commit (a package for handling git hooks in python) to automatically format you code on commit.

  • stylelint

    A mighty CSS linter that helps you avoid errors and enforce conventions.

  • Project mention: Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes | dev.to | 2024-05-05

    There are more linting tools that I won't go into deeply, but you can integrate them with lint-staged. For example, you can lint your CSS content with Stylelint, or even lint your README files with markdownlint, etc.

  • biome

    A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

  • Project mention: I switch from Eslint to Biome | dev.to | 2024-04-22

    { "$schema": "https://biomejs.dev/schemas/1.7.0/schema.json", "organizeImports": { "enabled": true }, "files": { "ignore": ["package.json", "package-lock.json"] }, "linter": { "enabled": true, "rules": { "recommended": true, "style": { "noUnusedTemplateLiteral": "off" } } }, "formatter": { "indentStyle": "space", "indentWidth": 4, "lineWidth": 320 }, "javascript": { "formatter": { "semicolons": "asNeeded" } } }

  • hadolint

    Dockerfile linter, validate inline bash, written in Haskell

  • Project mention: Cloud Security and Resilience: DevSecOps Tools and Practices | dev.to | 2024-05-01

    3. Hadolint: https://github.com/hadolint/hadolint Hadolint is a Dockerfile linter that helps you build best practice Docker images, reducing vulnerabilities in your container configurations.

  • super-linter

    Combination of multiple linters to run as a GitHub Action or standalone (by super-linter)

  • Project mention: Hashnode Blog GitHub Action - fetch and display the latest blogs in a nice format | dev.to | 2024-02-03
  • oxc

    ⚓ A collection of JavaScript tools written in Rust.

  • Project mention: The JavaScript Oxidation Compiler | news.ycombinator.com | 2023-12-16
  • XO

    ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults

  • Project mention: Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects | dev.to | 2024-05-05

    You may be torn between those famous code styles, struggling to choose one between Airbnb JavaScript Style, Google JavaScript Style Guide, JavaScript Standard Style, or XO, among others.

  • reviewdog

    🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

  • Project mention: Code reviews and Suggestions from SARIF report | dev.to | 2023-05-16

    I build a general converter from SARIF to Reviewdog Diagnostic Format (RDFormat), then use Reviewdog to give suggested code changes as well as the context of the changes for PR reviewing.

  • tfsec

    Security scanner for your Terraform code

  • Project mention: Cloud Security and Resilience: DevSecOps Tools and Practices | dev.to | 2024-05-01

    3. tfsec: https://github.com/aquasecurity/tfsec tfsec uses a suite of security checks to scan your Terraform templates, helping to identify potential security issues before infrastructure is deployed.

  • isort

    A Python utility / library to sort imports.

  • Project mention: Enhance Your Project Quality with These Top Python Libraries | dev.to | 2024-03-18

    isort: This library sorts your imports alphabetically, and automatically separates them into sections and by type. It provides a cleaner and more organised way to manage project imports.

  • detekt

    Static code analysis for Kotlin

  • Project mention: HRV-Mart | dev.to | 2023-05-08

    In protection rules, I added build workflow in Require status checks to pass before merging. This is to ensure that before merging code in master branch, build should run successfully. I also added Jacoco Code Coverage to make sure that enough unit tests are available in project and Detekt to make sure that code in project is readable. I added them in build configuration. Even if one of them gives error, build will fail. Whenever, someone push code in pull request, build action will run and check if build is running successfully or not.

  • ktlint

    An anti-bikeshedding Kotlin linter with built-in formatter

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Linter related posts

  • Utilities for refactoring and upgrading Ruby code based on ASTs

    3 projects | news.ycombinator.com | 6 May 2024
  • Ruff: The Extensible Python Linter

    1 project | dev.to | 7 May 2024
  • We Have Code Quality At Home: Open Source Java Code Quality Tools

    4 projects | dev.to | 6 May 2024
  • An infinite canvas for code exploration

    2 projects | news.ycombinator.com | 6 May 2024
  • Ask HN: How do you switch between multiple programming languages while coding?

    1 project | news.ycombinator.com | 6 May 2024
  • Streamline Your Workflow: A Guide to Normalising Git Commit and Push Processes

    6 projects | dev.to | 5 May 2024
  • Introducing Tapyr: Create and Deploy Enterprise-Ready PyShiny Dashboards with Ease

    5 projects | dev.to | 5 May 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Linter projects? This list will help you:

Project Stars
1 ShellCheck 35,056
2 Standard 28,879
3 ruff 26,725
4 ESLint 24,310
5 SwiftLint 18,322
6 mypy 17,569
7 golangci-lint 14,472
8 ale 13,288
9 lint-staged 12,900
10 static-analysis 12,881
11 rubocop 12,501
12 pre-commit 12,087
13 stylelint 10,831
14 biome 10,694
15 hadolint 9,728
16 super-linter 9,180
17 oxc 8,927
18 XO 7,551
19 reviewdog 7,385
20 tfsec 6,571
21 isort 6,321
22 detekt 6,046
23 ktlint 6,009

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com