@webpack-blocks/eslint
v2.1.0
Published
Webpack block for JavaScript linting.
Downloads
79
Readme
webpack-blocks - ESLint
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
Released under the terms of the MIT license.