Linting

Top 23 Linting Open-Source Projects

  • javascript

    JavaScript Style Guide

  • Project mention: Decoding JavaScript Variables: A Comprehensive Overview | dev.to | 2024-04-21

    // Follow Established Style Guides // Adhere to established style guides such as Airbnb JavaScript Style Guide or Google JavaScript Style Guide to maintain consistency across your codebase. // These style guides provide comprehensive rules and recommendations for variable naming, declaration, and usage. // Example: Airbnb JavaScript Style Guide // https://github.com/airbnb/javascript /** * Represents a person with a given name and age. * @typedef {Object} Person * @property {string} name - The name of the person. * @property {number} age - The age of the person. */ /** * Create a new person. * @param {string} name - The name of the person. * @param {number} age - The age of the person. * @returns {Person} - The newly created person object. */ function createPerson(name, age) { return { name, age }; } const person1 = createPerson("John", 30); const person2 = createPerson("Jane", 25); console.log(person1); console.log(person2);

  • 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
  • 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
  • eslint-plugin-import

    ESLint plugin with rules that help validate proper imports.

  • Project mention: Speeding up the JavaScript ecosystem – Polyfills gone rogue | news.ycombinator.com | 2023-09-21

    [2]: https://github.com/import-js/eslint-plugin-import/pull/2447#...

  • ue5-style-guide

    An attempt to make Unreal Engine 4 projects more consistent

  • Project mention: Why does the documentation say to use naming conventions like SKEL, SK, PHYS for Skeleton, Skeletal Mesh, Physics Asset, but all the start content use other abbreviations like SK, SKM and PA instead? | /r/unrealengine | 2023-12-11

    Doesn’t matter what you use, as long as it’s consistant. Epic changed their recommendations for skeletal meshes and skeletons between UE 4 and 5, hence the inconsistency. Michael Allar’s UE style guide is a common, long standing one. Personally I use whatever Epic’s current standard is, or what my team is using. It’s also fine to not prefix stuff, but it helps for consistency and searchability. It’s honestly more important to name things well, with cascading specificity: assetprefix_assettype_assetsubtype00 e.g. SM_Rock_Desert01, SM_Foliage_Bush_Dry_Small01 etc.

  • vale

    :pencil: A markup-aware linter for prose built with speed and extensibility in mind.

  • Project mention: Software Technical Writing: A Guidebook [pdf] | news.ycombinator.com | 2024-01-04
  • neomake

    Asynchronous linting and make framework for Neovim/Vim

  • comby

    A code rewrite tool for structural search and replace that supports ~every language.

  • Project mention: Meet ast-grep: a Rust-based tool for code searching, linting, rewriting using AST | /r/rust | 2023-05-11

    How does it compare to https://github.com/comby-tools/comby, which can work on languages it doesnt even have grammars for (to a degree)

  • 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
  • spectral

    A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.

  • Project mention: OpenAPI Linter | news.ycombinator.com | 2023-05-25
  • ktlint-gradle

    A ktlint gradle plugin

  • Project mention: [Question] disable ktlint rules with ktlint-gradle version 12.0.2 | /r/KotlinAndroid | 2023-12-05

    buildscript { . . . dependencies { classpath 'com.android.tools.build:gradle:8.1.4' classpath "org.jlleitschuh.gradle:ktlint-gradle:12.0.2" // https://github.com/JLLeitschuh/ktlint-gradle/releases . . } } allprojects { . . . apply plugin: "org.jlleitschuh.gradle.ktlint" }

  • cfn_nag

    Linting tool for CloudFormation templates

  • Project mention: Setting up my own landing zone on AWS | dev.to | 2023-12-25

    .pre-commit-config.yaml – contains the cfn-lint and cfn_nag pre-commit hooks.

  • chart-testing

    CLI tool for linting and testing Helm charts

  • Project mention: Chart Testing (ct tool) fail to list changed chart | /r/kubernetes | 2023-11-28

    I use [Chart-Testing](https://github.com/helm/chart-testing) to test helm chart.

  • phplint

    :bug: A tool that can speed up linting of php files by running several lint processes at once.

  • prettier-standard

    Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠)

  • secretlint

    Pluggable linting tool to prevent committing credential.

  • Project mention: GitHub Sponsors: azu the Japanese TypeScript and JavaScript developer | dev.to | 2024-04-25

    Azu created 500+ npm packages, wrote and maintains a number of popular command line tools for JavaScript. textlint has 2,751 stars, Secretlint has 698 stars. honkit for building books has 2,896 stars.

  • vim-lsc

    A vim plugin for communicating with a language server

  • Project mention: LSP with pylsp: it work-ish but autocompletion and hover randomly work. | /r/vim | 2023-06-05

    I tried something else that was really slow, jedi worked just fine so I've stuck with that. Running vim-lsc as the client.

  • SchemaStore.nvim

    🛍 JSON schemas for Neovim

  • Project mention: Missing diagnostic on tsconfig.json Neovim vs VSCode | /r/neovim | 2023-06-25

    Probably you need something like SchemaStore.nvim (this is a jsonls problem, not a tsserver one)

  • Husky.Net

    Git hooks made easy with Husky.Net internal task runner! 🐶 It brings the dev-dependency concept to the .NET world!

  • Project mention: What are your pre-commit hooks? | /r/ExperiencedDevs | 2023-06-08

    I use Husky.net to hook in dotnet format on changed files.

  • lint-action

    ✨ GitHub Action for detecting and auto-fixing lint errors

  • python-blueprint

    🐍 Example Python project using best practices 🥇

  • Project mention: Which scaffolding package should I use? | /r/Python | 2023-11-02

    I used https://github.com/johnthagen/python-blueprint to build https://github.com/DaveCoDev/not-again-ai. It uses poetry to manage dependencies, sets up automatic linting, testing, and type checking with nox and gets it running with GitHub Actions. It is continually being updated and stays up to date modern Python tooling (ruff, nox, poetry, etc). Not sure why the comments are being so discouraging, but regardless if you are looking to publish a polished library, its super helpful to have these things setup for you.

  • woke

    Detect non-inclusive language in your source code.

  • vacuum

    vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.

  • Project mention: Show HN: Extensible OpenAPI linter written in go | news.ycombinator.com | 2024-04-03
  • FastOlympicCoding

    Tools for competitive programming for Sublime Text 3 & 4

  • luacheck

    A tool for linting and static analysis of Lua code. (by lunarmodules)

  • Project mention: strict.lua | /r/lua | 2023-05-10

    Luacheck is now maintained by lunarmodules.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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).

Linting related posts

  • Show HN: Extensible OpenAPI linter written in go

    2 projects | news.ycombinator.com | 3 Apr 2024
  • Software Technical Writing: A Guidebook [pdf]

    2 projects | news.ycombinator.com | 4 Jan 2024
  • [Question] disable ktlint rules with ktlint-gradle version 12.0.2

    1 project | /r/KotlinAndroid | 5 Dec 2023
  • Chart Testing (ct tool) fail to list changed chart

    1 project | /r/kubernetes | 28 Nov 2023
  • Grammarly editor writing service are malfunctioning

    4 projects | news.ycombinator.com | 2 Nov 2023
  • A problem when adding Swiftlint as a dependency on my won package?

    1 project | /r/swift | 27 Oct 2023
  • Ask HN: Best tool to proof-read technical documentation?

    1 project | news.ycombinator.com | 16 Aug 2023
  • A note from our sponsor - WorkOS
    workos.com | 30 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Index

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

Project Stars
1 javascript 141,848
2 SwiftLint 18,308
3 eslint-plugin-import 5,309
4 ue5-style-guide 4,876
5 vale 4,178
6 neomake 2,648
7 comby 2,265
8 spectral 2,245
9 ktlint-gradle 1,392
10 cfn_nag 1,220
11 chart-testing 1,209
12 phplint 963
13 prettier-standard 870
14 secretlint 698
15 vim-lsc 684
16 SchemaStore.nvim 639
17 Husky.Net 590
18 lint-action 538
19 python-blueprint 529
20 woke 428
21 vacuum 421
22 FastOlympicCoding 381
23 luacheck 326

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com