12.0.0 • Published 5 years ago

@pigs/plugin-eslint v12.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@pigs/plugin-eslint

Use ESLint to lint JavaScript.

Install

yarn add @pigs/plugin-eslint --dev

How to use

In your pigs.config.js:

module.exports = {
  plugins: [
    {
      resolve: '@pigs/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.