Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 821 Bytes

readme.md

File metadata and controls

36 lines (24 loc) · 821 Bytes

@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.