@webpack-blocks/eslint

2.1.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @webpack-blocks/eslint

Weekly Downloads

4

Version

2.1.0

License

MIT

Unpacked Size

4.6 kB

Total Files

6

Last publish

Collaborators

  • andywer
  • webpack-blocks-andy