npm.io
2.1.0 • Published 6 years ago

@webpack-blocks/eslint

Licence
MIT
Version
2.1.0
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
3.0K

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.

Keywords