Skip to content

Commit

Permalink
8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Oct 29, 2021
1 parent 4ade913 commit 3b5b127
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
6 changes: 5 additions & 1 deletion docs/rules/first-attribute-linebreak.md
Expand Up @@ -3,12 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/first-attribute-linebreak
description: enforce the location of first attribute
since: v8.0.0
---
# vue/first-attribute-linebreak

> enforce the location of first attribute
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- :gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.

Expand Down Expand Up @@ -158,6 +158,10 @@ This rule aims to enforce a consistent location for the first attribute.

- [Style guide - Multi attribute elements](https://v3.vuejs.org/style-guide/#multi-attribute-elements-strongly-recommended)

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.0.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/first-attribute-linebreak.js)
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/multi-word-component-names.md
Expand Up @@ -90,7 +90,7 @@ export default {

### `ignores: ["Todo"]`

<eslint-code-block fix :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">
<eslint-code-block :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">

```vue
<script>
Expand All @@ -103,7 +103,7 @@ export default {

</eslint-code-block>

<eslint-code-block fix :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">
<eslint-code-block :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">

```vue
<script>
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-loss-of-precision.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-loss-of-precision
description: disallow literal numbers that lose precision
since: v8.0.0
---
# vue/no-loss-of-precision

> disallow literal numbers that lose precision
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

This rule is the same rule as core [no-loss-of-precision] rule but it applies to the expressions in `<template>`.

:::warning
Expand All @@ -22,6 +21,10 @@ You must be using ESLint v7.1.0 or later to use this rule.

[no-loss-of-precision]: https://eslint.org/docs/rules/no-loss-of-precision

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.0.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-loss-of-precision.js)
Expand Down
6 changes: 5 additions & 1 deletion docs/rules/no-reserved-props.md
Expand Up @@ -3,12 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-reserved-props
description: disallow reserved names in props
since: v8.0.0
---
# vue/no-reserved-props

> disallow reserved names in props
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.

## :book: Rule Details
Expand Down Expand Up @@ -46,6 +46,10 @@ export default {

- `vueVersion` (`2 | 3`) ... Specify the version of Vue you are using. Default is `3`.

## :rocket: Version

This rule was introduced in eslint-plugin-vue v8.0.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-reserved-props.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "7.20.0",
"version": "8.0.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 3b5b127

Please sign in to comment.