Detalhes do pacote

eslint-config-webpack

webpack33.5kMIT4.6.3

Provides Webpack's eslint rules as an extensible shared config

eslint, eslintconfig, config, webpack

readme (leia-me)

npm test discussions

ESLint Config Webpack

Provides Webpacks's eslint config as an extensible shared config.

eslint-config-webpack

Install

npm i -D eslint-config-webpack

Usage

Webpack's eslint config contains all of our ESLint rules.

In your eslint.config.js add ...

import { defineConfig } from "eslint/config";
import config from "eslint-config-webpack";

export default defineConfig([
    {
        extends: [config]
    }
]);

changelog (log de mudanças)

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.6.3 (2025-08-22)

Bug Fixes

4.6.2 (2025-08-22)

Bug Fixes

  • do not apply typescript preset without tsconfig (#89) (f883516)

4.6.1 (2025-08-20)

Bug Fixes

  • allow to use any Node.js features and ECMA syntax in documentation (#88) (bb600e0)

4.6.0 (2025-08-12)

Features

Bug Fixes

  • disable n/no-extraneous-import due import/no-extraneous-dependencies (#85) (c600bab)

4.5.1 (2025-07-25)

Bug Fixes

  • disable unicorn/prefer-class-fields for old es versions (#84) (83b9784)

4.5.0 (2025-07-23)

Features

Bug Fixes

4.4.2 (2025-07-22)

Bug Fixes

4.4.1 (2025-07-17)

Bug Fixes

  • disable unicorn/prefer-object-from-entries for old es versions (#78) (bb28a00)

4.4.0 (2025-07-15)

Features

  • new browsers and universal presets (63c9d13)

Bug Fixes

  • add jest-environment-options to ignore typescript jsdoc errors (#76) (08c3da3)

4.3.4 (2025-07-14)

Bug Fixes

4.3.3 (2025-07-14)

Bug Fixes

  • avoid jest special comments to lint (#72) (4fbe4b0)
  • disable @typescript-eslint/triple-slash-reference for markdown (#74) (a11f2cb)
  • disable no-new rule for markdown (#73) (4b2e171)

4.3.2 (2025-07-14)

Bug Fixes

4.3.1 (2025-07-14)

Bug Fixes

  • disable @typescript-eslint/no-unused-vars for markdown files (#69) (fcbf2a3)
  • improve react support (64c1204)
  • improve typescript support (#67) (6750fc3)

4.3.0 (2025-07-01)

Features

  • added special webpack rule to check license comments (#66) (1a6a880)

4.2.2 (2025-07-01)

Bug Fixes

  • allow to use process-exit in docs (#65) (06570d4)

4.2.1 (2025-07-01)

Bug Fixes

4.2.0 (2025-06-27)

Features

  • enable rule for order of imports and exports (#59) (387c167)
  • plugin and rule to sort package.json properties (ca57ab4)

Bug Fixes

4.1.4 (2025-06-25)

Bug Fixes

  • ignore ts extension for require in typescript code (#55) (1b2558f)

4.1.3 (2025-06-24)

Bug Fixes

4.1.2 (2025-06-23)

Bug Fixes

  • do not apply typescript rules when emit disabled (#48) (5bed1ab)

4.1.1 (2025-06-20)

Bug Fixes

4.1.0 (2025-06-12)

Features

  • added typescript/recommended preset (fea16fb)

4.0.10 (2025-06-11)

Bug Fixes

  • use dirty parser configuration for markdown (#46) (404c7c8)

4.0.9 (2025-06-11)

Bug Fixes

  • adding default prettier config for old projects (86f7be6)
  • disable no-console for tests (#45) (ab1798f)

4.0.8 (2025-06-11)

Bug Fixes

4.0.7 (2025-06-11)

Bug Fixes

4.0.6 (2025-06-10)

Bug Fixes

  • lazy loading configs in different deps (#42) (8a855ab)

4.0.5 (2025-06-10)

Bug Fixes

  • lazy load jest and typescript configuration (#40) (196e040)
  • lazy load optional plugins (#41) (d634eaf)
  • relax jest/prefer-lowercase-title (#39) (496c8e2)

4.0.4 (2025-06-10)

Bug Fixes

  • disable require-await rule (a787ef9)

4.0.3 (2025-06-10)

Bug Fixes

  • add test/outputs to global ignore (#36) (2d3253b)
  • improve jest default configuration (#37) (e846ec3)

4.0.2 (2025-06-10)

Bug Fixes

  • adding eslint-config-prettier to peer deps (#33) (df28ab8)
  • disable jest/no-done-callback rule (#35) (cb2b634)
  • unresolved import in eslint-config (#34) (a73ed8e)

4.0.1 (2025-06-06)

Bug Fixes

4.0.0 (2025-06-06)

⚠ BREAKING CHANGES

  • update all rules and switch to eslint@9 (#30)

Features

  • update all rules and switch to eslint@9 (#30) (fcddab9)

2.0.0 (2025-06-06)

⚠ BREAKING CHANGES

  • update all rules and switch to eslint@9 (#30)

Features

  • update all rules and switch to eslint@9 (#30) (fcddab9)