webpack-blocks

webpack-blocks - ESLint

Gitter chat NPM Version

This is the eslint block providing JavaScript linting support for webpack. Uses eslint via eslint-loader.

Usage

const { createConfig } = require('@webpack-blocks/webpack')
const eslint = require('@webpack-blocks/eslint')

module.exports = createConfig([
  eslint(/* eslint options */)
])

Use match() to explicitly specify the files to lint.

Options

You can pass any eslint-loader options as an object to the eslint block. See eslint-loader options.

webpack-blocks

Check out the

👉 Main documentation

Released under the terms of the MIT license.