Skip to content

Version Packages #2792

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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/beige-teams-camp.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-camels-refuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/true-pumas-open.md

This file was deleted.

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

## 10.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://github.com/vuejs/eslint-plugin-vue/pull/2784))

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

### Patch Changes

- Resolved TypeScript compatibility issues introduced by eslint-typegen ([#2790](https://github.com/vuejs/eslint-plugin-vue/pull/2790))

## 10.3.0

### Minor Changes
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-negated-condition.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-negated-condition
description: Disallow negated conditions in `<template>`
since: v10.4.0
---

# vue/no-negated-condition

> Disallow negated conditions in `<template>`

- :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 is the same rule as core [no-negated-condition] rule but it applies to the expressions in `<template>`.
Expand All @@ -25,6 +24,10 @@ This rule is the same rule as core [no-negated-condition] rule but it applies to

[no-negated-condition]: https://eslint.org/docs/rules/no-negated-condition

## :rocket: Version

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

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-negated-condition.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.3.0",
"version": "10.4.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down