Skip to content

Latest commit

 

History

History

plugin-eslint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@pwa/plugin-eslint

PWA plugin for ESLint

Install

$ npm install --save-dev @pwa/plugin-eslint eslint

Usage

None – recognized by and attached to @pwa/core automatically!

Config

Configurable via the eslint key on your pwa.config.js file.

You may also define or use existing .eslintrc.* files in your project. You may also provide a custom configFile path.

Default Config:

exports.eslint = {
  cache: true,
  parserOptions: {
    ecmaVersion: 10,
    parser: 'babel-eslint',
    sourceType: 'module',
  }
}

Available Options:

See Options for eslint-loader and ESLint's Options too.