{"id":19885,"library":"eslint-plugin-quasar","title":"eslint-plugin-quasar","description":"Official ESLint plugin for enforcing best practices and aiding migration in Quasar Framework projects. Current version is 1.1.0 (stable), with an alpha cycle leading to 1.0.0. It provides rules to detect deprecated Quasar v0.17 components, directives, CSS, plugins, and properties, and validates props for v1+ components. Key differentiators: official plugin from the Quasar team, focused on migration and prop validation, with legacy and standard configurations. Release cadence is irregular; updates are driven by framework changes.","status":"active","version":"1.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/quasarframework/eslint-plugin-quasar","tags":["javascript","eslint","eslintplugin","eslint-plugin","quasar","quasarframework","quasar framework","rules"],"install":[{"cmd":"npm install eslint-plugin-quasar","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-plugin-quasar","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-plugin-quasar","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for plugin to work","package":"eslint","optional":false}],"imports":[{"note":"In .eslintrc, use shorthand 'quasar' for the plugin name.","wrong":"plugins: ['eslint-plugin-quasar']","symbol":"plugin default","correct":"plugins: ['quasar']"},{"note":"Must include 'plugin:' prefix when extending a plugin's config.","wrong":"extends: ['quasar/legacy']","symbol":"legacy config","correct":"extends: ['plugin:quasar/legacy']"},{"note":"For Quasar v1+ projects, use the standard config.","wrong":"extends: ['quasar/standard']","symbol":"standard config","correct":"extends: ['plugin:quasar/standard']"},{"note":"Rules must be prefixed with 'quasar/'","wrong":"rules: { 'no-legacy-components': 'error' }","symbol":"rule 'no-legacy-components'","correct":"rules: { 'quasar/no-legacy-components': 'error' }"}],"quickstart":{"code":"// .eslintrc.js\nmodule.exports = {\n  root: true,\n  env: {\n    node: true\n  },\n  extends: [\n    'plugin:quasar/standard'\n  ],\n  plugins: ['quasar'],\n  rules: {\n    'quasar/no-invalid-props': 'error',\n    'quasar/no-invalid-qfield-usage': 'warn'\n  }\n};\n","lang":"javascript","description":"Basic ESLint configuration for Quasar v1+ using the standard config and two rules."},"warnings":[{"fix":"Replace 'check-valid-props' with 'no-invalid-props'.","message":"The rule 'check-valid-props' has been deprecated since v1.0.0.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Install eslint and plugins locally for consistency: npm install --save-dev eslint eslint-plugin-quasar","message":"Global ESLint installation requires global plugin installation.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use the standard config and rules for v1+ projects.","message":"Legacy rules are only for migrating from v0.17 to v1; not relevant for new v1+ projects.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Ensure directives in rules include 'v-' prefix (e.g., 'v-model' instead of 'model').","message":"In v1.0.0-alpha.13, directive rule required 'v-' prefix; previously it did not.","severity":"breaking","affected_versions":">=1.0.0-alpha.13"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run npm install --save-dev eslint-plugin-quasar or ensure it's in devDependencies.","cause":"Plugin not installed or not in node_modules.","error":"ESLint couldn't find the plugin \"eslint-plugin-quasar\"."},{"fix":"Use numeric severity: 2 for error, 1 for warn.","cause":"Using string 'error' in older ESLint versions (pre-v6).","error":"Configuration for rule \"quasar/no-legacy-components\" is invalid: Value \"error\" is not a valid severity."},{"fix":"Ensure plugin is in plugins array and rule name is correct; update to latest version.","cause":"Incorrect plugin name or rule not available in version.","error":"Definition for rule 'quasar/no-invalid-props' was not found."},{"fix":"npm install --save-dev eslint-plugin-quasar","cause":"Plugin not installed or missing from package.json.","error":"Cannot find module 'eslint-plugin-quasar'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}