Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-quasar

rstoenescu1190.0.1

ESLint config for Quasar monorepo

readme

eslint-config-quasar

ESLint configuration for Quasar monorepo. It's a private package only meant to be used in core source code.

Usage

Add the dependency to package.json:

{
  "devDependencies": {
    "eslint-config-quasar": "workspace:*",
  }
}

We need @rushstack/eslint-patch to be able to resolve packages provided by this package. Add the following to .eslintrc.cjs:

require('@rushstack/eslint-patch/modern-module-resolution'); // 👈 Add this line

module.exports = {
  // ...
}

Then extend the configuration in .eslintrc.cjs:

// ...

module.exports = {
  extends: [
    'quasar/base',
    'quasar/vue',
    'quasar/node',
  ],

  // ...
}