awesome-eslint

A list of awesome ESLint plugins, configs, etc.

GitHub

4k stars
69 watching
225 forks
last commit: 3 months ago
Linked from 4 awesome lists

awesomeawesome-listeslintlist

Awesome ESLint / Configs / Configs by Well-Known Companies/Organizations

Airbnb 144,774 5 days ago Shareable config for
Airbnb-babel 3 over 1 year ago Airbnb's ESLint config with Babel Support
Airbnb-typescript 1,046 about 2 months ago Airbnb's ESLint config with TypeScript support
Alloy 2,644 9 months ago Progressive ESLint config for your React/Vue/TypeScript projects
ESLint 24,939 3 days ago Contains the ESLint configuration used for projects maintained by the ESLint team
Facebook Sharable config for Facebook's style guide
Feedzai 8 3 months ago Feedzai's shareable config for JavaScript/React projects
React App 102,565 about 1 month ago Sharable config for projects
Shopify 466 26 days ago Shareable config for
Vercel 1,249 5 months ago Vercel Engineering's composable eslint configuration used in all their codebases
Wikimedia 28 4 months ago Shareable config for , used by

Awesome ESLint / Configs / Other Prominent Configs (100 stars or so)

Auto 398 5 months ago Automatically configure ESLint based on your project's dependencies
Canonical 589 11 days ago Shareable config for
Standard 2,600 12 days ago Shareable config for JavaScript
XO 265 2 months ago Shareable config for
Antfu Eslint Config 3,812 9 days ago Anthony's ESLint config preset

Awesome ESLint / Configs / Other Configs

Adjunct 50 5 months ago A reasonable collection of plugins to use alongside your main ESLint configuration
Ash-Nazg 6 11 days ago One config to rule them all!
Cecilia 6 4 months ago ESLint configuration for awesome projects
clean-typescript 1 8 months ago Enforce classic JavaScript featuress in TypeScript codebase by banning excessive keywords
ES 29 about 1 month ago Shareable config for very strict code
Hardcore 414 about 1 month ago The most strict (but practical) ESLint config out there
Problems 68 15 days ago Shareable config that only catches actual problems, and doesn't enforce stylistic preferences
Supermind 4 about 3 years ago Shareable config for Supermind style
Sheriff 106 13 days ago Comprehensive and highly opinionated Eslint configuration. Typescript oriented

Awesome ESLint / Preconfigured Configs with ESLint Set up

Node.js Standard Style 6 over 7 years ago Node.js core config
eslint-config-prettier 5,423 3 months ago Prettier config for ESlint maintained by Prettier team
Standard 29,067 22 days ago JavaScript Standard Style
Superlint 5 about 7 years ago JavaScript Supermind Style
XO 7,664 2 months ago JavaScript happiness style linter ❤️
Healthier 84 11 months ago Code style agnostic version of Standard, perfect companion to Prettier

Awesome ESLint / Plugins / Code Quality

depend 333 about 1 month ago Helps detect dependency tree bloat and redundant polyfills
GitHub 295 13 days ago Misc. rules from GitHub
SonarJS 1,194 5 days ago Rules detecting bugs and suspicious patterns
Unicorn 4,193 6 days ago Various awesome ESLint rules
@mysticatea/eslint-plugin 26 almost 2 years ago Misc. rules
@brettz9/eslint-plugin 2 3 months ago Misc. rules. of without the personal config

Awesome ESLint / Plugins / Compatibility

Compat 3,071 23 days ago Lint browser compatibility of APIs used ( as an ESLint plugin)
ecmascript-compat 66 5 months ago Disable ECMAScript language features not supported by your browserslist targets
es-x 114 12 days ago Disable specific ECMAScript language versions or individual features. Properly maintained fork of no longer maintained
es5 54 almost 2 years ago ESLint plugin for ES5 users (forbid ES2015+ usage)
ie11 14 over 3 years ago Detect unsupported ES6 features in IE11

Awesome ESLint / Plugins / CSS in JS

CSS-modules 153 10 months ago Lint undefined or unused rules for css modules
Emotion 17,431 5 days ago ESLint rules for emotion

Awesome ESLint / Plugins / CSS in JS / Styled Components

Better Styled Components 65 almost 2 years ago Auto fixable ESlint's rules for styled components
styled-components-a11y 144 3 months ago A11y for Styled Components

Awesome ESLint / Plugins / Deprecation

deprecate 80 3 months ago Mark functions or modules as deprecated and get lint messages when they are used
deprecation 328 4 months ago Identifies use of jsdoc functions
disable 56 over 1 year ago Disable specified plugins using file path patterns and inline comments

Awesome ESLint / Plugins / Embedded

HTML 430 14 days ago Linting for JavaScript inside of HTML tags
Markdown 391 18 days ago Linting for JavaScript inside of Markdown

Awesome ESLint / Plugins / Frameworks

Angular 1,625 3 days ago Linting rules for Angular (v2+)
AngularJS 618 5 months ago Linting rules to adhere to the
Astro 304 13 days ago Plugin for
Backbone 95 over 6 years ago Linting rules for Backbone
Custom Elements 58 about 1 year ago Rules by GitHub for Custom Elements
Ember 260 17 days ago Linting rules for Ember
Hapi 21 2 months ago Linting rules for hapi
Meteor 44,321 4 days ago Meteor specific linting rules for ESLint

Awesome ESLint / Plugins / Frameworks / React

JSX a11y 22 5 months ago Accessibility rules on JSX elements
React 8,970 3 days ago Linting rules for React and JSX
React Hooks 227,908 8 days ago Linting rules for React Hooks
React Native 720 3 months ago React Native specific linting rules
React-Redux 83 about 1 month ago React-Redux specific linting rules

Awesome ESLint / Plugins / Frameworks

Solid 218 28 days ago Linting rules for Solid and JSX
Svelte 295 8 days ago Linting rules for Svelte v3 Components

Awesome ESLint / Plugins / Frameworks / Vue

VueJS 4,449 17 days ago Plugin for VueJS
VueJS Scoped CSS 98 23 days ago Plugin for Scoped CSS in VueJS

Awesome ESLint / Plugins / Languages and Environments

AssemblyScript Rules for enforcing restrictions on TypeScript toward AssemblyScript compliance
Babel 43,188 3 days ago Adds replacements for built-in rules to include Babel features
Coffee 11 over 3 years ago Enables linting CoffeeScript files with, with optional linting rules from the Coffeelint library
eslint-plugin-eslint-plugin 194 4 days ago An ESLint plugin for linting ESLint plugins

Awesome ESLint / Plugins / Languages and Environments / Flow

Flow 1,077 7 months ago Flow type linting rules
Flow Errors 402 over 2 years ago Run Flow as an ESLint plugin

Awesome ESLint / Plugins / Languages and Environments

HTML 157 20 days ago ESLint plugin for HTML

Awesome ESLint / Plugins / Languages and Environments / JSON

JSON 204 about 2 months ago Lint your JSON files
JSON, package.json 41 almost 2 years ago Lint, format, and auto-fix your JSON files. Sort your
JSON with Comments 194 13 days ago ESLint plugin for JSON, JSONC and JSON5
JSON Schema 71 16 days ago Validates data defined in JavaScript, JSON, YAML and TOML using JSON Schema Validator

Awesome ESLint / Plugins / Languages and Environments

MDX 263 8 days ago ESLint Parser/Plugin for MDX
N 221 17 days ago Additional ESLint's rules for Node.js. Properly maintained fork of no longer maintained
SQL 93 about 2 months ago SQL linting rules for ESLint
TOML 25 13 days ago ESLint plugin for TOML
TypeScript 15,180 3 days ago Linting rules for TypeScript
YAML 118 5 days ago ESLint plugin for YAML

Awesome ESLint / Plugins / Libraries / GraphQL

dotansimha/graphql-eslint 792 11 days ago Validates, prettifies and checks your GraphQL operations and GraphQL schema for best-practices
apollostack/eslint-plugin-graphql 1,211 3 days ago Check your GraphQL query strings against a schema

Awesome ESLint / Plugins / Libraries

TypeGraphQL 17 about 2 years ago Linting rules for TypeGraphQL, targeted at finding common mistakes
jQuery 32 3 months ago Linting rules for jQuery, including versioned configs for deprecated features
JSDoc 1,089 17 days ago Linting rules for JSDoc comments (including the JavaScript within )

Awesome ESLint / Plugins / Libraries / Lodash

Lodash 276 8 months ago Lodash specific linting rules
Lodash/fp 151 almost 2 years ago Lodash/fp specific linting rules
Lodash template 17 15 days ago Plugin for Lodash template/Underscore template
Microtemplates 4 over 8 years ago (Used in Lodash and Underscore.js)

Awesome ESLint / Plugins / Libraries

Mongodb 19 almost 2 years ago Mongodb native Node.js driver linting rules
Ramda 118 about 3 years ago Ramda specific linting rules
RequireJS 29 over 1 year ago Linting rules for RequireJS
Tailwind CSS 1,449 about 2 months ago Linting rules for Tailwind CSS classnames

Awesome ESLint / Plugins / Misc

Diff 176 about 1 month ago Run ESLint on your changed lines only. Also supports CI!
Misc 10 about 1 month ago Miscellaneous rules including rules for creating custom checks and wrapping (modifying) third-party rules
Notice 26 4 months ago An eslint rule that checks the top of files and fixes them too!
Only-Error 15 3 months ago Convert all rules to errors
Only-Warn 157 4 months ago Convert all rules to warnings
PutOut 699 3 days ago an ESLint plugin integrates linter into ESLint
TypeLint 175 over 6 years ago Introduces types, based on existing schemas (Swagger, Redux) and linting access to object properties, preventing errors
Woke 33 about 1 month ago Helps catch insensitive words, promoting an inclusive codebase

Awesome ESLint / Plugins / Practices and Specific ES Features

array-func 94 12 days ago Avoid redundancy when using es2015 array methods and functions
arrow functions 305 about 2 years ago ESLint rules to ensure proper arrow function definitions
boundaries 504 12 days ago Ensures that your architecture boundaries are respected by the elements in your project checking file structure and dependencies
@eslint-community/eslint-plugin-eslint-comments 51 about 2 months ago Best practices about ESLint directive comments ( , etc.). Properly maintained fork of no longer maintained
eslint-plugin-hexagonal-architecture 292 about 2 years ago A plugin that helps you to enforce hexagonal architecture best practices
eslint-plugin-write-good-comments 34 10 months ago Enforce good writing style in comments
eslint-plugin-exception-handling 24 13 days ago Lints unhandled functions that might throw errors
fp 968 almost 4 years ago ESLint rules for functional programming
functional 790 12 days ago ESLint rules to disable mutation and promote fp in JavaScript and TypeScript
Immutable 912 almost 5 years ago Disable all mutation in JavaScript
import 5,470 25 days ago Linting of ES2015+ import/export syntax, and prevent issues with misspelling of file paths and import names. Still does not work with ESlint 9 and does not support flat configs
import-x 405 6 days ago Linting of ES2015+ import/export syntax, and prevent issues with misspelling of file paths and import names. Properly maintained lightweight fork of with the proper support of latest ESlint
new-with-error 26 5 days ago Require errors to be thrown using
no-argument-spread 3 over 2 years ago Lints against expressions like that can lead to a stack overflow for large arrays
no-comments 13 over 1 year ago Prevents leaking comments into production if bundler is not used and stops developers from commenting out old lines of code
no-constructor-bind 12 over 1 year ago Encourages use of class properties by reporting use of with or setting state in constructors
no-inferred-method-name 27 over 2 years ago Custom rule for ESLint that checks for inferred method names within object literals
no-loops 126 4 months ago It's 2019 and you still use loops?
no-restricted-syntax 5 3 months ago Show queried syntax's content in messages
no-use-extend-native 56 about 1 month ago Prevent using extended native objects
Promise 939 9 days ago Best practices when working with promises
pure 29 over 8 years ago Enforce pure functions (without side effects)
ReDoS ESLint plugin for finding possible ReDoS vulnerabilities
ReDoSDetector 5 3 days ago ESLint plugin for finding possible ReDoS vulnerabilities
RegExp 692 5 days ago ESLint plugin for finding regexp mistakes and style guide violations
sort-keys-fix 97 4 months ago Adds fixer for ESLint rule
this 16 over 1 year ago Write pure functions, don't allow
toplevel 19 7 months ago An eslint plugin for disallow side effect at module toplevel

Awesome ESLint / Plugins / Performance

DOM 9 about 6 years ago
Optimize Regex 75 4 months ago Optimize regex literals
plugin 23 almost 8 years ago Perf-Standard and

Awesome ESLint / Plugins / Security

no-secrets 135 4 months ago An eslint plugin that detects potential secrets/credentials
no-unsanitized 228 4 days ago Checks for , , etc
pii 9 over 2 years ago Checks and enforces PII Compliance of the code. i.e. no email address, birth date, IP address or phone number in comments or string literals
config 88 over 3 years ago ScanJS and - Security-related rules
Security 2,203 18 days ago ESLint rules for Node Security
xss 66 about 1 year ago Tries to detect XSS issues in codebase before they end up in production

Awesome ESLint / Plugins / Style

ESLint Stylistic -
const case Enforce capitalization of constant primitive literals
editorconfig 14 12 months ago Derive rules from
filenames 318 2 months ago Ensure consistent filenames for your JavaScript files. No longer maintained and does not work with ESlint 9 at all
Simple import sort 2,059 11 days ago Easy autofixable import sorting
perfectionist sorting 1,864 2 days ago Sort objects, imports, TypeScript types, enums, JSX props, etc
Switch case 17 2 months ago Switch-case-specific linting rules for ESLint
padding 4 almost 4 years ago Allows/disallows padding between statements
paths 50 4 days ago Use paths from tsconfig/jsconfig and auto fix relative paths to aliases

Awesome ESLint / Plugins / Testing Tools

AVA 229 5 months ago Linting rules for AVA

Awesome ESLint / Plugins / Testing Tools / Chai

expect practices 27 4 days ago
with unused expressions 53 about 1 month ago
permitted keywords 1 2 months ago
with chai-as-promised plugin 4 2 months ago
globals 2 about 7 years ago

Awesome ESLint / Plugins / Testing Tools

Cucumber 7 over 1 year ago Linting rules for Cucumber
Cypress 701 12 days ago Linting rules for Cypress
Jasmine 95 17 days ago Linting rules for Jasmine

Awesome ESLint / Plugins / Testing Tools / Jest

Enforcing practices 1,123 12 days ago Linting rules for Jest
Enforcing consistent formatting 156 over 1 year ago Formatting rules for Jest
Jest-async Async linting rule for Jest
Jest-DOM 359 2 months ago Linting rules for Jest-DOM

Awesome ESLint / Plugins / Testing Tools / Mocha

Enforcing practices 279 about 1 month ago Linting rules for Mocha
Enforcing manageability 13 18 days ago

Awesome ESLint / Plugins / Testing Tools

Playwright 265 11 days ago Linting rules for Playwright
QUnit 30 about 1 month ago Linting rules for QUnit
TestCafe-Community 4 about 1 month ago TestCafe linting rules with env globals (fork from )
Testing Library 982 about 1 month ago Linting rules for Testing Library

Awesome ESLint / Parsers

babel-eslint-parser 43,188 3 days ago Allows you to lint ALL valid Babel code with the fantastic ESLint
TypeScript 15,180 3 days ago A TypeScript parser that produces output compatible with ESLint
BrightScript 44 almost 2 years ago BrightScript plugin for Roku development. Includes Parser and Rules
GraphQL 792 11 days ago Parser for the GraphQL AST. Includes parser, plugin, processor (for non-graphql files) and rules

Awesome ESLint / Formatters

html 35 4 months ago A enhanced ESLint formatter
badger 6 9 months ago Make SVG-based badges summarizing ESLint results (e.g., for use on a README)
git-log 41 over 2 years ago ESLint Formatter featuring Git Author, Date, and Hash
github 102 about 1 month ago See ESLint errors and warnings directly in pull requests
gitlab Output ESLint results in the GitLab code quality results
mo 122 over 1 year ago Good-lookin' ESLint formatter and also for delightful reading experience
SARIF Generate a results in a SARIF format so it can be imported into tools like GitHub Advanced Security
summary-chart 12 4 months ago Format ESLint output into a bar chart

Awesome ESLint / Globals

confusing-browser-globals 102,565 about 1 month ago A curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit window. qualifier
ES and browser globals 394 4 days ago (originally from ESLint)
chai globals 2 about 7 years ago
TestCafe globals 15 over 4 years ago & globals for TestCafe

Awesome ESLint / Tools

eslint-define-config 361 3 days ago Provide a function for files
es-file-traverse 2 3 months ago Obtain a list of only those files which are in use based on imports and/or requires from an entry file or files; list passable to ESLint. Intended esp. for linting 3rd party dependencies
eslint-find-rules 204 10 months ago Find built-in ESLint rules you don't have in your custom config
eslint-index 20 about 3 years ago CLI for finding and managing rules in ESLint config files
eslint-interactive 358 7 days ago The CLI tool to fix huge number of ESLint errors
eslint-multiplexer 7 4 days ago Multiplex eslint results and merge results for common files
eslint-nibble 775 23 days ago Ease into ESLint, by fixing one rule at a time
eslint-plugin-rule-adoption 1 3 months ago An eslint plugin for incremental rule adoption, when and codemods don't cut it
eslint-rule-documentation 30 over 1 year ago Find the url for the documentation of an ESLint rule
eslint-watch 194 over 1 year ago Run ESLint with watch mode
codacy-eslint 15 11 days ago Docker used at to run ESLint
esprint 661 29 days ago Run ESLint across multiple threads
generator-eslint 228 4 months ago Generate ESLint plugin and rules with
editor-info 6 14 days ago Detect whether one is within an editor/IDE and which type, allowing one to tweak ESLint configuration accordingly
eslint-dashboard 18 about 3 years ago Interactive ESLint workflow that lives in your terminal
eslint-remote-tester 129 4 days ago CLI tool for testing given ESlint rules against multiple repositories at once

Awesome ESLint / Developing for ESLint

eslint-doc-generator 91 5 months ago Generate documentation for your ESLint plugin including a rules table for your readme and header for your rule docs
eslint-docgen 10 5 months ago Automatically generate ESLint plugin documentation from rule metadata and test cases

Awesome ESLint / Tutorials

Creating an ESLint Plugin Article walking through the creation of an ESLint rule and plugin
Lint Like It's 2015 Article walking through the benefits of using ESLint
Linting JavaScript with ESLint Video showing ESLint setup and basics
Linting React JSX with ESLint (in ES6) Video showing how to use React and JSX with ESLint
Plugin Module with Mixins Article on how to write a plugin as a node module containing modular mixin configuration
Writing a rule to spot undeclared props hiding in plain sight Article about creating rules that require scope analysis

Awesome ESLint / Installation and Setup

Lintier 21 16 days ago CLI to quickly scaffold an ESLint & Prettier setup in a TypeScript project

Backlinks from these awesome lists: