Skip to content

Commit 037bf19

Browse files
authored
Merge branch 'master' into eslint-v10
2 parents 8bc89a4 + 083aafe commit 037bf19

File tree

116 files changed

+241
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+241
-280
lines changed

.changeset/add-callexpression-support.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/improve-define-macros-order-messages.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lemon-socks-follow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/neat-coats-allow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rich-bags-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-vue": patch
3+
---
4+
5+
Fixed false positives for `TSImportType` in `vue/script-indent` rule

.changeset/ten-lines-fail.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# eslint-plugin-vue
22

3+
## 10.6.1
4+
5+
### Patch Changes
6+
7+
- Fixed false positives for comments outside `<template>` in [`vue/no-multiple-template-root`](https://eslint.vuejs.org/rules/no-multiple-template-root.html) rule ([#2964](https://github.com/vuejs/eslint-plugin-vue/pull/2964))
8+
9+
## 10.6.0
10+
11+
### Minor Changes
12+
13+
- Updated [`vue/no-import-compiler-macros`](https://eslint.vuejs.org/rules/no-import-compiler-macros.html) to clarify that macros are not allowed outside `<script setup>` ([#2938](https://github.com/vuejs/eslint-plugin-vue/pull/2938))
14+
15+
- Added new [`vue/no-duplicate-class-names`](https://eslint.vuejs.org/rules/no-duplicate-class-names.html) rule ([#2934](https://github.com/vuejs/eslint-plugin-vue/pull/2934))
16+
17+
### Patch Changes
18+
19+
- Fixed [`vue/no-v-html`](https://eslint.vuejs.org/rules/no-v-html.html) rule to allow ignoring call expressions ([#2950](https://github.com/vuejs/eslint-plugin-vue/pull/2950))
20+
21+
- Improved [`vue/define-macros-order`](https://eslint.vuejs.org/rules/define-macros-order.html) error messages to distinguish between macro placement and ordering issues ([#2953](https://github.com/vuejs/eslint-plugin-vue/pull/2953))
22+
23+
- Updated dependency [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) to v7.1.0 ([#2947](https://github.com/vuejs/eslint-plugin-vue/pull/2947))
24+
325
## 10.5.1
426

527
### Patch Changes

docs/.vitepress/build-system/build.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ build(
2323
'node:fs',
2424
'semver',
2525
'fast-glob',
26+
'tinyglobby',
2627
'debug'
2728
]
2829
)

docs/.vitepress/config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ export default async () => {
162162
tslib: path.join(dirname, '../../node_modules/tslib/tslib.es6.js'),
163163
globby: path.join(dirname, './build-system/shim/empty.mjs'),
164164
'fast-glob': path.join(dirname, './build-system/shim/empty.mjs'),
165+
tinyglobby: path.join(dirname, './build-system/shim/empty.mjs'),
165166
module: path.join(dirname, './build-system/shim/empty.mjs')
166167
}
167168
},

docs/rules/no-duplicate-class-names.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-duplicate-class-names
55
description: disallow duplication of class names in class attributes
6+
since: v10.6.0
67
---
78

89
# vue/no-duplicate-class-names
910

1011
> disallow duplication of class names in class attributes
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>
1313
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fix-problems) can automatically fix some of the problems reported by this rule.
1414

1515
## :book: Rule Details
@@ -51,6 +51,10 @@ This rule prevents the same class name from appearing multiple times within the
5151

5252
Nothing.
5353

54+
## :rocket: Version
55+
56+
This rule was introduced in eslint-plugin-vue v10.6.0
57+
5458
## :mag: Implementation
5559

5660
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-duplicate-class-names.js)

0 commit comments

Comments
 (0)