gitwtfhub

wtf is eslint-loader?

yyx990803/eslint-loader — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2015-12-30

2JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

TL;DR

A webpack loader that runs ESLint on your JavaScript files during the build, catching code quality issues before the build finishes.

Mindmap

mindmap
  root((repo))
    What it does
      Runs ESLint in webpack
      Reports issues per build
      Supports autofix
      Configurable strictness
    Tech stack
      JavaScript
      Webpack
      ESLint
      Babel
    Use cases
      Catch style errors early
      Warn without breaking build
      Fail build on violations
      Autofix common issues
    Audience
      Front-end developers
      Webpack users
      Dev teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Catch unused variables, spacing issues, and other lint errors automatically during a webpack build.

REASON 2

Configure the build to warn on lint issues without failing, or to fail the build on violations.

REASON 3

Run ESLint on original source code before Babel transforms it.

REASON 4

Enable autofix to automatically correct common lint problems during the build.

What's in the stack?

JavaScriptWebpackESLint

How it stacks up

yyx990803/eslint-loader3imed-jaberi/cryptography-si-isamm3imed-jaberi/koa-isomorphic-router
Stars222
LanguageJavaScriptJavaScriptJavaScript
Last pushed2015-12-302021-09-252021-02-06
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/51/52/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 30min

Requires an existing webpack project with ESLint configured.

Yoink these prompts

Prompt 1
Show me how to add this loader to my webpack config to lint only my own source files, not node_modules.
Prompt 2
How do I set this loader to only warn on lint issues instead of failing the build?
Prompt 3
Help me order this loader before Babel so ESLint checks the original untransformed code.
Prompt 4
Explain the autofix loop issue this project warns about and how to avoid it.

Frequently asked questions

wtf is eslint-loader?

A webpack loader that runs ESLint on your JavaScript files during the build, catching code quality issues before the build finishes.

What language is eslint-loader written in?

Mainly JavaScript. The stack also includes JavaScript, Webpack, ESLint.

Is eslint-loader actively maintained?

Dormant — no commits in 2+ years (last push 2015-12-30).

How hard is eslint-loader to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is eslint-loader for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.