https://github.com/webpack/eslint-config-webpack
Webpack standard eslint configuration
https://github.com/webpack/eslint-config-webpack
eslint-config webpack
Last synced: 7 months ago
JSON representation
Webpack standard eslint configuration
- Host: GitHub
- URL: https://github.com/webpack/eslint-config-webpack
- Owner: webpack
- License: mit
- Created: 2017-01-26T09:17:40.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-07-01T15:18:28.000Z (8 months ago)
- Last Synced: 2025-07-08T21:29:26.783Z (7 months ago)
- Topics: eslint-config, webpack
- Language: JavaScript
- Homepage:
- Size: 954 KB
- Stars: 12
- Watchers: 10
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![npm][npm]][npm-url]
[![test][test]][test-url]
[](https://github.com/webpack/webpack/discussions)
# eslint-config-webpack
## Install
```bash
npm i -D eslint-config-webpack
```
## Usage
Webpack's eslint config contains all of our ESLint rules.
_In your eslint.config.js add ..._
```js
import { defineConfig } from "eslint/config";
import config from "eslint-config-webpack";
export default defineConfig([
{
extends: [config]
}
]);
```
[npm]: https://img.shields.io/npm/v/eslint-config-webpack.svg
[npm-url]: https://npmjs.com/package/eslint-config-webpack
[test]: https://github.com/webpack/eslint-config-webpack/actions/workflows/test.yml/badge.svg
[test-url]: https://github.com/webpack/eslint-config-webpack/actions/workflows/test.yml