-
-
Notifications
You must be signed in to change notification settings - Fork 78
Make to use project: undefined
when parsing script-fragments in <template>
.
#195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as off-topic.
This comment was marked as off-topic.
Might also solve my problem (nuxt/nuxt#25257). However, I want to raise a concern, that I don't know whether those rules I have in place will work when |
what would happen if projectService is used instead? |
207eabd
to
6353982
Compare
1 task
1 task
chgeo
added a commit
to capire/docs
that referenced
this pull request
Sep 25, 2025
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [eslint-plugin-vue](https://eslint.vuejs.org) ([source](https://redirect.github.com/vuejs/eslint-plugin-vue)) | [`^9.11.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-vue/9.33.0/10.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vuejs/eslint-plugin-vue (eslint-plugin-vue)</summary> ### [`v10.5.0`](https://redirect.github.com/vuejs/eslint-plugin-vue/blob/HEAD/CHANGELOG.md#1050) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v10.4.0...v10.5.0) ##### Minor Changes - Added `ignoredObjectNames` option to [`vue/no-async-in-computed-properties`](https://eslint.vuejs.org/rules/no-async-in-computed-properties.html) ([#​2927](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2927)) - Added `ignorePattern` option to [`vue/no-v-html`](https://eslint.vuejs.org/rules/no-v-html.html) ([#​2857](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2857)) - Added `sortLineLength` option to [`vue/attributes-order`](https://eslint.vuejs.org/rules/attributes-order.html) ([#​2759](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2759)) - Changed [`vue/component-name-in-template-casing`](https://eslint.vuejs.org/rules/component-name-in-template-casing.html) `globals` option to support regex patterns ([#​2928](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2928)) - Changed [`vue/valid-define-options`](https://eslint.vuejs.org/rules/valid-define-options.html) to allow local literal constant references ([#​2920](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2920)) - Changed [`vue/no-mutating-props`](https://eslint.vuejs.org/rules/no-mutating-props.html) and [`vue/no-side-effects-in-computed-properties`](https://eslint.vuejs.org/rules/no-side-effects-in-computed-properties.html) rules to detect `Object.assign` mutations ([#​2929](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2929)) - Added [`@stylistic/eslint-plugin`](https://eslint.style/) as optional peer dependency ([#​2884](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2884)) ##### Patch Changes - Changed [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) to ignore enum declarations and `declare` statements ([#​2918](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2918)) ### [`v10.4.0`](https://redirect.github.com/vuejs/eslint-plugin-vue/blob/HEAD/CHANGELOG.md#1040) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v10.3.0...v10.4.0) ##### Minor Changes - Added `ignoreParents` option to [`vue/no-deprecated-slot-attribute`](https://eslint.vuejs.org/rules/no-deprecated-slot-attribute.html) ([#​2784](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2784)) - Added new [`vue/no-negated-v-if-condition`](https://eslint.vuejs.org/rules/no-negated-v-if-condition.html) rule ([#​2794](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2794)) - Added new [`vue/no-negated-condition`](https://eslint.vuejs.org/rules/no-negated-condition.html) rule ([#​2795](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2795)) ##### Patch Changes - Resolved TypeScript compatibility issues introduced by [eslint-typegen](https://redirect.github.com/antfu/eslint-typegen) ([#​2790](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2790)) - Fixed inconsistent quotes in [`vue/block-lang`](https://eslint.vuejs.org/rules/block-lang.html) error messages ([#​2805](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2805)) ### [`v10.3.0`](https://redirect.github.com/vuejs/eslint-plugin-vue/blob/HEAD/CHANGELOG.md#1030) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v10.2.0...v10.3.0) ##### Minor Changes - Added [`@typescript-eslint/parser`](https://typescript-eslint.io/packages/parser) as an optional peer dependency ([#​2775](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2775)) - Add TypeScript IntelliSense support via [eslint-typegen](https://redirect.github.com/antfu/eslint-typegen) ([#​2770](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2770)) - [`vue/no-deprecated-slot-attribute`](https://eslint.vuejs.org/rules/no-deprecated-slot-attribute.html) `ignore` option now supports regex patterns ([#​2773](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2773)) ##### Patch Changes - Fixed false negatives when using typescript-eslint v8 in [`vue/script-indent`](https://eslint.vuejs.org/rules/script-indent.html) rule ([#​2775](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2775)) - Update resources ([#​2752](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2752)) - [`vue/no-restricted-html-elements`](https://eslint.vuejs.org/rules/no-restricted-html-elements.html) now also checks SVG and MathML elements ([#​2755](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2755)) ### [`v10.2.0`](https://redirect.github.com/vuejs/eslint-plugin-vue/blob/HEAD/CHANGELOG.md#1020) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v10.1.0...v10.2.0) ##### Minor Changes - [vue/no-restricted-html-elements](https://eslint.vuejs.org/rules/no-restricted-html-elements.html) now accepts multiple elements in each entry. ([#​2750](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2750)) ##### Patch Changes - Updates resources ([#​2747](https://redirect.github.com/vuejs/eslint-plugin-vue/pull/2747)) ### [`v10.1.0`](https://redirect.github.com/vuejs/eslint-plugin-vue/releases/tag/v10.1.0) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v10.0.1...v10.1.0) #### β¨ Enhancements - [#​2734](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2734) Improved `allowlist` option of [`vue/no-bare-strings-in-template`](https://eslint.vuejs.org/rules/no-bare-strings-in-template.html) rule to accept regex. - [#​2736](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2736) Added [`vue/define-props-destructuring`](https://eslint.vuejs.org/rules/define-props-destructuring.html) rule that enforce consistent style for props destructuring. - [#​2685](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2685) Added `disallowComments` option to [`vue/no-multiple-template-root`](https://eslint.vuejs.org/rules/no-multiple-template-root.html) rule. **Full Changelog**: <vuejs/eslint-plugin-vue@v10.0.1...v10.1.0> ### [`v10.0.1`](https://redirect.github.com/vuejs/eslint-plugin-vue/releases/tag/v10.0.1) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v10.0.0...v10.0.1) #### π Bug Fixes - [#​2700](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2700) Fixed incorrect type for `.eslintrc` configs. - [#​2703](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2703) Fixed false negatives for multiple script blocks in [`vue/prefer-use-template-ref`](https://eslint.vuejs.org/rules/prefer-use-template-ref.html) rule. - [#​2726](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2726) Fixed false positives for tagged template expressions in [`vue/no-ref-as-operand`](https://eslint.vuejs.org/rules/no-ref-as-operand.html) rule. - [#​2728](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2728) Fixed false negatives for props destructure in [`vue/require-default-prop`](https://eslint.vuejs.org/rules/require-default-prop.html) rule. - [#​2731](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2731) Fixed false positives for renamed props in [`vue/no-dupe-keys`](https://eslint.vuejs.org/rules/no-dupe-keys.html) rule. #### βοΈ Updates - [#​2701](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2701) Improved the report location for [`vue/no-export-in-script-setup`](https://eslint.vuejs.org/rules/no-export-in-script-setup.html) rule. - [#​2724](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2724) Improved the report location for [`vue/html-self-closing`](https://eslint.vuejs.org/rules/html-self-closing.html) rule. **Full Changelog**: <vuejs/eslint-plugin-vue@v10.0.0...v10.0.1> ### [`v10.0.0`](https://redirect.github.com/vuejs/eslint-plugin-vue/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/vuejs/eslint-plugin-vue/compare/v9.33.0...v10.0.0) #### π₯ Breaking changes - [#​2630](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2630) Changed Versioning Policy: - Allow minor versions of this plugin to enhance the checks for new features in Vue and Nuxt. - Allow updating deprecated/reserved HTML+SVG element tag names in minor versions, see [#​2171](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2171). - [#​2645](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2645) Removed deprecated rules (see [removed rules](https://eslint.vuejs.org/rules/#removed)). - [#​2669](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2669) Dropped support for old versions of ESLint and Node.js. New minimum requirements: - Node.js: `^18.18.0 || ^20.9.0 || >=21.1.0` - ESLint: `^8.57.0 || ^9.0.0` - Updated configs: - [#​2627](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2627) Added [`vue/block-order`](https://eslint.vuejs.org/rules/block-order.html) rule to recommended configs (replaces the removed `vue/component-tags-order` rule). - [#​2628](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2628) Added [`vue/no-deprecated-delete-set`](https://eslint.vuejs.org/rules/no-deprecated-delete-set.html) rule to vue3-essential config. - [#​2629](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2629) Added [`vue/no-deprecated-model-definition`](https://eslint.vuejs.org/rules/no-deprecated-model-definition.html) rule to vue3-essential config. - [#​2640](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2640) Added [`vue/no-required-prop-with-default`](https://eslint.vuejs.org/rules/no-required-prop-with-default.html) rule to recommended configs. - [#​2653](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2653) Added [`vue/valid-define-options`](https://eslint.vuejs.org/rules/valid-define-options.html) rule to vue3-essential config. - [#​2674](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2674) Removed globals from configs. You may need to configure them manually now, see <https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables>. - [#​2648](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2648) Renamed `.eslintrc` configs (to match `eslint.config.js` config names; see PR for comparison). - [#​2668](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2668) Changed `.eslintrc` base config so that [vue-eslint-parser](https://redirect.github.com/vuejs/vue-eslint-parser) is only used for `.vue` files. - [#​2670](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2670) Changed [vue-eslint-parser](https://redirect.github.com/vuejs/vue-eslint-parser) to peer dependency. - [#​2697](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2697) Upgraded [vue-eslint-parser](https://redirect.github.com/vuejs/vue-eslint-parser) to v10. - This includes [vuejs/vue-eslint-parser#195](https://redirect.github.com/vuejs/vue-eslint-parser/pull/195), which should make the parser much faster for large TypeScript projects :zap: - [#​2153](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2153) Added `slots` and `expose` to the default order of [`vue/order-in-components`](https://eslint.vuejs.org/rules/order-in-components.html) rule. - [#​2626](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2626) Removed legacy option from [`vue/custom-event-name-casing`](https://eslint.vuejs.org/rules/custom-event-name-casing.html) rule. - [#​2655](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2655) Removed unused `runOutsideVue` option from [`vue/sort-keys`](https://eslint.vuejs.org/rules/sort-keys.html) rule. - [#​2652](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2652) Removed `setup-compiler-macros` environments. #### β¨ Enhancements - [#​2693](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2693) Improved type resolution for generic types and improved the rules for checking type-only macros. - [#​2684](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2684) Added [`vue/no-import-compiler-macros`](https://eslint.vuejs.org/rules/no-import-compiler-macros.html) rule that disallows importing Vue compiler macros. - [#​2694](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2694) Added `except` option to [`vue/prefer-true-attribute-shorthand`](https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html) rule. - [#​2311](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2311) Improved the plugin to check for objects declared with Nuxt3 [`defineNuxtComponent()`](https://nuxt.com/docs/api/utils/define-nuxt-component). #### βοΈ Updates - [#​2171](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2171) Updated resources. - [#​2675](https://redirect.github.com/vuejs/eslint-plugin-vue/issues/2675) Deprecated Vue 2 only rules. They will be removed in eslint-plugin-vue v11. **Full Changelog**: <vuejs/eslint-plugin-vue@v9.33.0...v10.0.0> </details> --- ### Configuration π **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/capire/docs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTcuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian Georgi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
related to #104
close #65
This PR makes the parser option to use
project: undefined
when parsing script fragments in<template>
blocks.This should improve performance when used with the typescript-eslint parser.