npm i -D eslint-config-webpack
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
.
In your .eslintrc.js || .yml || .json add ...
// Add to your .eslintrc
"extends": "webpack"
Joshua Wiens |
Juho Vepsäläinen |