$ npm install --save-dev @pwa/plugin-eslint eslint
None – recognized by and attached to @pwa/core
automatically!
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.