Skip to content

webpack-contrib/eslint-config-webpack

Repository files navigation

npm test coverage chat

ESLint Config Webpack

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

Install

npm i -D eslint-config-webpack

Usage

Webpack's eslint config contains all of our ESLint rules, including ECMAScript 6+ and is similar to Airbnb's ESLint base rules. It requires eslint and eslint-plugin-import.

eslint setup

In your .eslintrc.js || .yml || .json add ...

// Add to your .eslintrc

"extends": "webpack"

Maintainers


Joshua Wiens

Juho Vepsäläinen