Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fast-monkeys-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-colts-bathe.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-zebras-type.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-spies-nail.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# eslint-plugin-vue

## 10.7.0

### Minor Changes

- Added new [`vue/no-undef-directives`](https://eslint.vuejs.org/rules/no-undef-directives.html) rule ([#2990](https://github.com/vuejs/eslint-plugin-vue/pull/2990))

- Changed [`vue/no-negated-v-if-condition`](https://eslint.vuejs.org/rules/no-negated-v-if-condition.html) suggestion to autofix ([#2984](https://github.com/vuejs/eslint-plugin-vue/pull/2984))

- Added new `ignoreEOLComments` option to [`vue/no-multi-spaces`](https://eslint.vuejs.org/rules/no-multi-spaces.html) rule ([#2989](https://github.com/vuejs/eslint-plugin-vue/pull/2989))

### Patch Changes

- Updates resources ([#2986](https://github.com/vuejs/eslint-plugin-vue/pull/2986))

## 10.6.2

### Patch Changes
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-undef-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-undef-directives
description: disallow use of undefined custom directives
since: v10.7.0
---

# vue/no-undef-directives

> disallow use of undefined custom directives

- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>

## :book: Rule Details

This rule reports directives that are used in the `<template>`, but that are not registered in the `<script setup>` or the Options API's `directives` section.
Expand Down Expand Up @@ -84,6 +83,10 @@ export default {

</eslint-code-block>

## :rocket: Version

This rule was introduced in eslint-plugin-vue v10.7.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-undef-directives.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "10.6.2",
"version": "10.7.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down