Skip to content

Fixes #1379 Add since attribute #1384

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
merged 5 commits into from
Dec 24, 2020
Merged
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
1 change: 1 addition & 0 deletions docs/rules/array-bracket-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/array-bracket-newline
description: enforce linebreaks after opening and before closing array brackets
since: v7.1.0
---
# vue/array-bracket-newline
> enforce linebreaks after opening and before closing array brackets
Expand Down
1 change: 1 addition & 0 deletions docs/rules/array-bracket-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/array-bracket-spacing
description: enforce consistent spacing inside array brackets
since: v5.2.0
---
# vue/array-bracket-spacing
> enforce consistent spacing inside array brackets
Expand Down
1 change: 1 addition & 0 deletions docs/rules/arrow-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/arrow-spacing
description: enforce consistent spacing before and after the arrow in arrow functions
since: v5.2.0
---
# vue/arrow-spacing
> enforce consistent spacing before and after the arrow in arrow functions
Expand Down
1 change: 1 addition & 0 deletions docs/rules/attribute-hyphenation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/attribute-hyphenation
description: enforce attribute naming style on custom components in template
since: v3.9.0
---
# vue/attribute-hyphenation
> enforce attribute naming style on custom components in template
Expand Down
1 change: 1 addition & 0 deletions docs/rules/attributes-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/attributes-order
description: enforce order of attributes
since: v4.3.0
---
# vue/attributes-order
> enforce order of attributes
Expand Down
1 change: 1 addition & 0 deletions docs/rules/block-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/block-spacing
description: disallow or enforce spaces inside of blocks after opening block and before closing block
since: v5.2.0
---
# vue/block-spacing
> disallow or enforce spaces inside of blocks after opening block and before closing block
Expand Down
1 change: 1 addition & 0 deletions docs/rules/block-tag-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/block-tag-newline
description: enforce line breaks after opening and before closing block-level tags
since: v7.1.0
---
# vue/block-tag-newline
> enforce line breaks after opening and before closing block-level tags
Expand Down
1 change: 1 addition & 0 deletions docs/rules/brace-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/brace-style
description: enforce consistent brace style for blocks
since: v5.2.0
---
# vue/brace-style
> enforce consistent brace style for blocks
Expand Down
1 change: 1 addition & 0 deletions docs/rules/camelcase.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/camelcase
description: enforce camelcase naming convention
since: v5.2.0
---
# vue/camelcase
> enforce camelcase naming convention
Expand Down
1 change: 1 addition & 0 deletions docs/rules/comma-dangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comma-dangle
description: require or disallow trailing commas
since: v5.2.0
---
# vue/comma-dangle
> require or disallow trailing commas
Expand Down
1 change: 1 addition & 0 deletions docs/rules/comma-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comma-spacing
description: enforce consistent spacing before and after commas
since: v7.0.0
---
# vue/comma-spacing
> enforce consistent spacing before and after commas
Expand Down
1 change: 1 addition & 0 deletions docs/rules/comma-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comma-style
description: enforce consistent comma style
since: v7.0.0
---
# vue/comma-style
> enforce consistent comma style
Expand Down
1 change: 1 addition & 0 deletions docs/rules/comment-directive.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comment-directive
description: support comment-directives in `<template>`
since: v4.1.0
---
# vue/comment-directive
> support comment-directives in `<template>`
Expand Down
1 change: 1 addition & 0 deletions docs/rules/component-definition-name-casing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/component-definition-name-casing
description: enforce specific casing for component definition name
since: v7.0.0
---
# vue/component-definition-name-casing
> enforce specific casing for component definition name
Expand Down
1 change: 1 addition & 0 deletions docs/rules/component-name-in-template-casing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/component-name-in-template-casing
description: enforce specific casing for the component naming style in template
since: v5.0.0
---
# vue/component-name-in-template-casing
> enforce specific casing for the component naming style in template
Expand Down
1 change: 1 addition & 0 deletions docs/rules/component-tags-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/component-tags-order
description: enforce order of component top-level elements
since: v6.1.0
---
# vue/component-tags-order
> enforce order of component top-level elements
Expand Down
1 change: 1 addition & 0 deletions docs/rules/custom-event-name-casing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/custom-event-name-casing
description: enforce specific casing for custom event name
since: v7.0.0
---
# vue/custom-event-name-casing
> enforce specific casing for custom event name
Expand Down
1 change: 1 addition & 0 deletions docs/rules/dot-location.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/dot-location
description: enforce consistent newlines before and after dots
since: v6.0.0
---
# vue/dot-location
> enforce consistent newlines before and after dots
Expand Down
1 change: 1 addition & 0 deletions docs/rules/dot-notation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/dot-notation
description: enforce dot notation whenever possible
since: v7.0.0
---
# vue/dot-notation
> enforce dot notation whenever possible
Expand Down
1 change: 1 addition & 0 deletions docs/rules/eqeqeq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/eqeqeq
description: require the use of `===` and `!==`
since: v5.2.0
---
# vue/eqeqeq
> require the use of `===` and `!==`
Expand Down
1 change: 1 addition & 0 deletions docs/rules/experimental-script-setup-vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/experimental-script-setup-vars
description: prevent variables defined in `<script setup>` to be marked as undefined
since: v7.0.0
---
# vue/experimental-script-setup-vars
> prevent variables defined in `<script setup>` to be marked as undefined
Expand Down
1 change: 1 addition & 0 deletions docs/rules/func-call-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/func-call-spacing
description: require or disallow spacing between function identifiers and their invocations
since: v7.0.0
---
# vue/func-call-spacing
> require or disallow spacing between function identifiers and their invocations
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-closing-bracket-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-closing-bracket-newline
description: require or disallow a line break before tag's closing brackets
since: v4.1.0
---
# vue/html-closing-bracket-newline
> require or disallow a line break before tag's closing brackets
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-closing-bracket-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-closing-bracket-spacing
description: require or disallow a space before tag's closing brackets
since: v4.1.0
---
# vue/html-closing-bracket-spacing
> require or disallow a space before tag's closing brackets
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-comment-content-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-comment-content-newline
description: enforce unified line brake in HTML comments
since: v7.0.0
---
# vue/html-comment-content-newline
> enforce unified line brake in HTML comments
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-comment-content-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-comment-content-spacing
description: enforce unified spacing in HTML comments
since: v7.0.0
---
# vue/html-comment-content-spacing
> enforce unified spacing in HTML comments
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-comment-indent.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-comment-indent
description: enforce consistent indentation in HTML comments
since: v7.0.0
---
# vue/html-comment-indent
> enforce consistent indentation in HTML comments
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-end-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-end-tags
description: enforce end tag style
since: v3.0.0
---
# vue/html-end-tags
> enforce end tag style
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-indent.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-indent
description: enforce consistent indentation in `<template>`
since: v3.14.0
---
# vue/html-indent
> enforce consistent indentation in `<template>`
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-quotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-quotes
description: enforce quotes style of HTML attributes
since: v3.0.0
---
# vue/html-quotes
> enforce quotes style of HTML attributes
Expand Down
1 change: 1 addition & 0 deletions docs/rules/html-self-closing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/html-self-closing
description: enforce self-closing style
since: v3.11.0
---
# vue/html-self-closing
> enforce self-closing style
Expand Down
1 change: 1 addition & 0 deletions docs/rules/jsx-uses-vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/jsx-uses-vars
description: prevent variables used in JSX to be marked as unused
since: v2.0.0
---
# vue/jsx-uses-vars
> prevent variables used in JSX to be marked as unused
Expand Down
1 change: 1 addition & 0 deletions docs/rules/key-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/key-spacing
description: enforce consistent spacing between keys and values in object literal properties
since: v5.2.0
---
# vue/key-spacing
> enforce consistent spacing between keys and values in object literal properties
Expand Down
1 change: 1 addition & 0 deletions docs/rules/keyword-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/keyword-spacing
description: enforce consistent spacing before and after keywords
since: v6.0.0
---
# vue/keyword-spacing
> enforce consistent spacing before and after keywords
Expand Down
1 change: 1 addition & 0 deletions docs/rules/match-component-file-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/match-component-file-name
description: require component name property to match its file name
since: v5.2.0
---
# vue/match-component-file-name
> require component name property to match its file name
Expand Down
1 change: 1 addition & 0 deletions docs/rules/max-attributes-per-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/max-attributes-per-line
description: enforce the maximum number of attributes per line
since: v3.12.0
---
# vue/max-attributes-per-line
> enforce the maximum number of attributes per line
Expand Down
1 change: 1 addition & 0 deletions docs/rules/max-len.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/max-len
description: enforce a maximum line length
since: v6.1.0
---
# vue/max-len
> enforce a maximum line length
Expand Down
1 change: 1 addition & 0 deletions docs/rules/multiline-html-element-content-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/multiline-html-element-content-newline
description: require a line break before and after the contents of a multiline element
since: v5.0.0
---
# vue/multiline-html-element-content-newline
> require a line break before and after the contents of a multiline element
Expand Down
1 change: 1 addition & 0 deletions docs/rules/mustache-interpolation-spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/mustache-interpolation-spacing
description: enforce unified spacing in mustache interpolations
since: v3.13.0
---
# vue/mustache-interpolation-spacing
> enforce unified spacing in mustache interpolations
Expand Down
1 change: 1 addition & 0 deletions docs/rules/name-property-casing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/name-property-casing
description: enforce specific casing for the name property in Vue components
since: v3.8.0
---
# vue/name-property-casing
> enforce specific casing for the name property in Vue components
Expand Down
1 change: 1 addition & 0 deletions docs/rules/new-line-between-multi-line-property.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/new-line-between-multi-line-property
description: enforce new lines between multi-line properties in Vue components
since: v7.3.0
---
# vue/new-line-between-multi-line-property
> enforce new lines between multi-line properties in Vue components
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-arrow-functions-in-watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-arrow-functions-in-watch
description: disallow using arrow functions to define watcher
since: v7.0.0
---
# vue/no-arrow-functions-in-watch
> disallow using arrow functions to define watcher
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-async-in-computed-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-async-in-computed-properties
description: disallow asynchronous actions in computed properties
since: v3.8.0
---
# vue/no-async-in-computed-properties
> disallow asynchronous actions in computed properties
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-bare-strings-in-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-bare-strings-in-template
description: disallow the use of bare strings in `<template>`
since: v7.0.0
---
# vue/no-bare-strings-in-template
> disallow the use of bare strings in `<template>`
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-boolean-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-boolean-default
description: disallow boolean defaults
since: v7.0.0
---
# vue/no-boolean-default
> disallow boolean defaults
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-confusing-v-for-v-if.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-confusing-v-for-v-if
description: disallow confusing `v-for` and `v-if` on the same element
since: v3.0.0
---
# vue/no-confusing-v-for-v-if
> disallow confusing `v-for` and `v-if` on the same element
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-custom-modifiers-on-v-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-custom-modifiers-on-v-model
description: disallow custom modifiers on v-model used on the component
since: v7.0.0
---
# vue/no-custom-modifiers-on-v-model
> disallow custom modifiers on v-model used on the component
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-deprecated-data-object-declaration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-deprecated-data-object-declaration
description: disallow using deprecated object declaration on data (in Vue.js 3.0.0+)
since: v7.0.0
---
# vue/no-deprecated-data-object-declaration
> disallow using deprecated object declaration on data (in Vue.js 3.0.0+)
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-deprecated-destroyed-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-deprecated-destroyed-lifecycle
description: disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
since: v7.0.0
---
# vue/no-deprecated-destroyed-lifecycle
> disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
Expand Down
1 change: 1 addition & 0 deletions docs/rules/no-deprecated-dollar-listeners-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-deprecated-dollar-listeners-api
description: disallow using deprecated `$listeners` (in Vue.js 3.0.0+)
since: v7.0.0
---
# vue/no-deprecated-dollar-listeners-api
> disallow using deprecated `$listeners` (in Vue.js 3.0.0+)
Expand Down
Loading