@poi/plugin-eslint

12.1.0 • Public • Published

@poi/plugin-eslint

Use ESLint to lint JavaScript.

Install

yarn add @poi/plugin-eslint --dev

How to use

In your poi.config.js:

module.exports = {
  plugins: [
    {
      resolve: '@poi/plugin-eslint'
    }
  ]
}

Then add a .eslintrc.js in your project:

module.exports = {
  extends: ['eslint:recommended']
}

Now ESLint will check your JS files at compile time.

Options

loaderOptions

  • Type: any

Addtional options for eslint-loader.

Readme

Keywords

none

Package Sidebar

Install

npm i @poi/plugin-eslint

Weekly Downloads

510

Version

12.1.0

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • egoist
  • poi-owner
  • rem