JavaScript eslint-rules

Open-source JavaScript projects categorized as eslint-rules

Top 13 JavaScript eslint-rule Projects

eslint-rules
  1. 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.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. eslint-plugin-unicorn

    More than 100 powerful ESLint rules

    Project mention: Just use this Next.js Eslint Configuration | dev.to | 2025-01-12

    XO. This feels like the Black of Typescript linting. XO has styles for everything and is very opinionated. This can be nice, because it takes a lot of code style decisions off of your plate. But beware it can be cumbersome to implement in the middle of a project because it will require extensive reformatting. In lieu of XO, I found Unicorn opinionated enough and more immediately useful.

  4. putout

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

  5. eslint-plugin-boundaries

    Eslint plugin checking architecture boundaries between elements

  6. eslint-config-auto

    Automatically configure ESLint based on project dependencies

  7. eslint-plugin-proper-arrows

    ESLint rules to ensure proper arrow function definitions

  8. eslint-plugin-import-helpers

    ESLint plugin to help enforce a configurable order for import statements

  9. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  10. eslint-config-xo

    ESLint shareable config for XO

    Project mention: Just use this Next.js Eslint Configuration | dev.to | 2025-01-12

    XO. This feels like the Black of Typescript linting. XO has styles for everything and is very opinionated. This can be nice, because it takes a lot of code style decisions off of your plate. But beware it can be cumbersome to implement in the middle of a project because it will require extensive reformatting. In lieu of XO, I found Unicorn opinionated enough and more immediately useful.

  11. eslint-plugin-i18n-json

    Fully extendable eslint plugin for JSON i18n translation files.

  12. eslint-plugin-tailwind

    ESLint rules for Tailwind CSS

  13. eslint-plugin-proper-ternary

    ESLint rules to ensure proper usage of ternary/conditional expressions

  14. eslint-plugin-snakecasejs

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

  15. eslint-plugin-no-expired-todo-comments

    🔌 An ESLint plugin to prevent TODO comments with expired dates.

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

JavaScript eslint-rules discussion

Log in or Post with

JavaScript eslint-rules related posts

  • Just use this Next.js Eslint Configuration

    8 projects | dev.to | 12 Jan 2025
  • Incrementally fixing lots of ESlint errors in a clean way with ESlint Nibble

    2 projects | dev.to | 18 Nov 2024
  • ESLint: Flat Config Rollout Plan

    2 projects | news.ycombinator.com | 18 Oct 2023
  • eslint-plugin-simple-import-sort VS eslint-plugin-perfectionist - a user suggested alternative

    2 projects | 22 Jun 2023
  • Configuring ESLint, Prettier, and TypeScript Together | Josh Goldberg

    1 project | /r/programming | 4 May 2023
  • Anyone using the data types Map and Set IRL?

    1 project | /r/typescript | 6 Mar 2023
  • this has broken my code 3 times

    1 project | /r/ProgrammerHumor | 28 Nov 2022
  • A note from our sponsor - Nutrient
    nutrient.io | 17 Feb 2025
    Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free. Learn more →

Index

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

# Project Stars
1 XO 7,727
2 eslint-plugin-unicorn 4,381
3 putout 730
4 eslint-plugin-boundaries 605
5 eslint-config-auto 405
6 eslint-plugin-proper-arrows 309
7 eslint-plugin-import-helpers 294
8 eslint-config-xo 272
9 eslint-plugin-i18n-json 183
10 eslint-plugin-tailwind 100
11 eslint-plugin-proper-ternary 96
12 eslint-plugin-snakecasejs 32
13 eslint-plugin-no-expired-todo-comments 3

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?