JavaScript Lint

Open-source JavaScript projects categorized as Lint

Top 19 JavaScript Lint Projects

  • stylelint

    A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.

    Project mention: 20 Best Libraries and Tools for React Developers | dev.to | 2023-01-25

    Stylelint helps prevent errors and ensures style conventions.

  • eslint-plugin-react

    React-specific linting rules for ESLint

    Project mention: Ask HN: What are you predictions for 2023? | news.ycombinator.com | 2022-12-25

    Thanks for weighing in, that's good to know. After wondering if this could be auto-refactored, I came across https://github.com/jsx-eslint/eslint-plugin-react/blob/maste..., will definitely have to give that (with `--fix`) a try in the new year and see if I can get the team on board! – desire for typescript being a compelling factor.

    Personally I do like the non-destructured `props.abc` throughout component code, really helps clarify at a glance where something is coming from, whether it's locally or externally defined, etc. Code style is an endless exercise in compromises/opinions though, even _with_ tools like eslint and prettier.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • eslint-plugin-import

    ESLint plugin with rules that help validate proper imports.

    Project mention: [AskJS] Opinions on how to export default const | reddit.com/r/javascript | 2023-01-22

    I think there's an argument to made that dev tooling could be improved to make default imports more useable. You're absolutely right that named exports fail faster in plain JS without using something like eslint, but there is an eslint rule thing that I discovered to mitigate the naming problem: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-named-as-default.md

  • markdownlint

    A Node.js style checker and lint tool for Markdown/CommonMark files.

    Project mention: VS Code - Catch errors in your markdown files | dev.to | 2022-07-04

    The markdownlint VS Code extension is powered by the Node library of the same name. Its usage is quite similar to ESLint. It has a set of rules that can be configured, errors are highlighted, and you can automatically fix simple errors.

  • Ethlint

    (Formerly Solium) Code quality & Security Linter for Solidity

    Project mention: Secure Smart Contract Tools—An End-to-End Developer’s Guide | dev.to | 2022-12-08

    Finally, linting is a valuable tool for finding potential issues in smart contract code. It can find stylistic errors, violations of programming conventions, and unsafe constructs in your code. There are many great linters available, such as ETHLint (Formerly Solium). Linting can help find potential problems—even security problems such as re-entrancy vulnerabilities—before they become costly mistakes.

  • remark-lint

    plugins to check (lint) markdown code style

  • vscode-markdownlint

    Markdown linting and style checking for Visual Studio Code

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • lockfile-lint

    Lint an npm or yarn lockfile to analyze and detect security issues

    Project mention: How to respond to growing supply chain security risks? | dev.to | 2022-04-03

    And it is happening right now. Github is opening the GitHub Advisory Database to community submissions. Awesome community NodeSecure builds cool things like scanner and js-x-ray. There are also lockfile-lint, LavaMoat, Jfrog-npm-tools (and I am sure there is more).

  • awesome-lint

    Linter for Awesome lists

    Project mention: Potherca's Weekly Github Stars - 2020 Week 25 | dev.to | 2022-06-28

    What I mean by versionless, is that this Action allows consumers to specify the version of the awesome-lint package they desire.

  • putout

    🐊 Pluggable and configurable JavaScript Linter and code transformer with built-in ESLint and Babel support for js, jsx typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏

    Project mention: Modern, faster alternatives to ESLint | dev.to | 2022-05-03

    Due to its plugin-first architecture, the initial API is kept as lean as possible, preventing unnecessary bloat and allowing the developer the choice of extension. Some plugin rules are also smaller than those available in ESLint, e.g., the debugger rule. We can also use Putout with ESLint by allowing Putout to handle code transformations while ESLint handles any formatting broken after the code transformation. We can use the plugin eslint-plugin-putout to help with this integration.

  • nano-staged

    Tiny tool to run commands for modified, staged, and committed files in a GIT repository.

  • ember-template-lint

    Linter for Ember or Handlebars templates

  • stylelint-config

    Sharable stylelint config used by GitHub's CSS

  • folderslint

    📁 Directory structure linter for Front-End projects

    Project mention: FoldersLint - Directory structure linter for Front-End projects | reddit.com/r/javascript | 2022-07-19
  • npm-groovy-lint

    Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line

    Project mention: New releases of npm-groovy-lint and VsCode Groovy Lint | reddit.com/r/groovy | 2022-08-15

    I made major changes to npm-groovy-lint (v10.1.0 can now take files as arguments) and VsCode Groovy Lint (fixed a lot of bugs in v2.0.0 ^^)

  • lint-to-the-future

    A modern way to progressively update your code to the best practices

  • eslint-plugin-snakecasejs

    :pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names

  • eslint-config-react-strong

    ESLint strong (strict) config for React and React Native development.

  • Project mention: Javascript Transpiler and ESLint are NOT Perfect | dev.to | 2022-11-01

    cc-kawakami/transpilers-and-eslint-are-not-perfect

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

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). The latest post mention was on 2023-01-25.

JavaScript Lint related posts

Index

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

Project Stars
1 stylelint 10,108
2 eslint-plugin-react 8,264
3 eslint-plugin-import 4,573
4 markdownlint 3,581
5 Ethlint 872
6 remark-lint 846
7 vscode-markdownlint 712
8 lockfile-lint 711
9 awesome-lint 504
10 putout 441
11 nano-staged 335
12 ember-template-lint 254
13 stylelint-config 194
14 folderslint 160
15 npm-groovy-lint 133
16 lint-to-the-future 35
17 eslint-plugin-snakecasejs 24
18 eslint-config-react-strong 3
19 transpilers-and-eslint-are-not-perfect 0
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com