Official ESLint plugin for Vue.js
MIT License
Bot releases are visible (Hide)
vue/no-reserved-keys
rule.vue/require-default-prop
rule.All commits: v7.15.0 -> v7.15.1
vue/no-use-computed-property-like-method
rule that disallows to use computed property like method.vue/block-lang
rule rule that disallows the use of languages other than those available in the your application for the lang
attribute of block elements.vue/comma-spacing
rule.vue/dot-notation
rule.vue/eqeqeq
rule.vue/func-call-spacing
rule.vue/no-extra-parens
rule.vue/no-restricted-syntax
rule.vue/no-useless-concat
rule.vue/prefer-template
rule.vue/space-in-parens
rule.vue/space-infix-ops
rule.vue/space-unary-ops
rule.vue/template-curly-spacing
rule.vue/no-mutating-props
rule.All commits: v7.14.0 -> v7.15.0
vue/require-expose
rule that enforces the component to explicitly declare the exposed properties to the component using expose
.vue/no-unused-properties
rule to support expose
vue/no-parsing-error
rule.vue/no-unused-properties
rule.vue/script-setup-uses-vars
rule.vue/no-unsupported-features
rule.vue/valid-v-xxx
rules.<script setup>
in vue/no-lifecycle-after-await
rule.<script setup>
in vue/no-watch-after-await
rule.<script setup>
in vue/no-restricted-call-after-await
rule.semver
compatible with Node v8.All commits: v7.13.0 -> v7.14.0
<script setup>
vue/script-setup-uses-vars
rule that will find variables in <script setup>
used in <template>
and mark them as used.vue/no-export-in-script-setup
rule that disallows ES export in <script setup>
.vue/valid-define-props
rule that reports defineProps
compiler macros in the following cases:
defineProps
are referencing locally declared variables.defineProps
has both a literal type and an argument. e.g. defineProps<{/*props*/}>({/*props*/})
defineProps
has been called multiple times.defineProps
and export default {}
.defineProps
or export default {}
.vue/valid-define-emits
rule that reports defineEmits
compiler macros in the following cases:
defineEmits
are referencing locally declared variables.defineEmits
has both a literal type and an argument. e.g. defineEmits<(e: 'foo')=>void>(['bar'])
defineEmits
has been called multiple times.defineEmits
and export default {}
.defineEmits
or export default {}
.vue-eslint-parser
.<script setup>
.
vue/no-mutating-props
rule.vue/no-reserved-keys
rule.vue/no-async-in-computed-properties
rule.vue/no-side-effects-in-computed-properties
rule.vue/require-prop-type-constructor
rule.vue/no-lifecycle-after-await
rule.vue/require-valid-default-prop
rule.vue/return-in-emits-validator
rule.vue/require-default-prop
rule.vue/no-setup-props-destructure
rule.vue/no-watch-after-await
rule.vue/no-template-shadow
rule.vue/prop-name-casing
rule.vue/require-prop-types
rule.vue/require-explicit-emits
rule.vue/custom-event-name-casing
rule.vue/no-boolean-default
rule.vue/no-restricted-call-after-await
rule.vue/no-restricted-props
rule.vue/no-unregistered-components
rule.vue/no-unsupported-features
rule.vue/no-unused-properties
rule.vue/no-unused-refs
rule.vue/require-emit-validator
rule.vue/require-name-property
rule.vue/no-template-shadow
rule to support setup()
.vue/no-unused-refs
rule to support setup()
.vue/experimental-script-setup-vars
rule.All commits: v7.12.1 -> v7.13.0
vue/script-indent
rule.All commits: v7.12.0 -> v7.12.1
vue/script-indent
rule to support TypeScript syntax.vue/script-indent
rule and vue/html-indent
rule to support ES2022 Class Fields syntax. (When using espree v8+.)vue/no-deprecated-slot-attribute
rule and vue/no-deprecated-slot-scope-attribute
rule.vue/no-deprecated-props-default-this
rule.All commits: v7.11.1 -> v7.12.0
vue/no-this-in-before-route-enter
rule that disallow this
usage in a beforeRouteEnter
method.vue/no-deprecated-v-is
rule that disallow deprecated v-is
directive (in Vue.js 3.1.0+).vue/no-deprecated-destroyed-lifecycle
rule to auto-fixable.is="vue:"
(Vue 3.1.0+).All commits: v7.10.0 -> v7.11.0
vue/require-emit-validator
rule that enforce the validator definition in emits.vue/this-in-template
rule to support autofix.vue/attribute-hyphenation
rule to ignore SVG attributes.All commits: v7.9.0 -> v7.10.0
vue/no-invalid-model-keys
rule that disallow invalid model option keys.vue/no-unused-refs
rule that reports refs that are defined using the ref
attribute in <template>
but are not used via $refs
.singleline.allowFirstLine
option to vue/max-attributes-per-line
rule.as
expression for vue/require-valid-default-prop
rule.All commits: v7.8.0 -> v7.9.0
ignorePublicMembers
option to vue/no-unused-properties
rule.$
in vue/this-in-template
rule.vue-eslint-parser
to v7.6.0.All commits: v7.6.0 -> v7.7.0
vue/html-button-has-type
rule."SLOT"
option to vue/attributes-order
rule to specify v-slot
order.vue/attributes-order
rule.vue/component-tags-order
rule.vue/max-attributes-per-line
rule.vue/new-line-between-multi-line-property
rule.vue/no-bare-strings-in-template
rule.vue/no-duplicate-attributes
rule.vue/no-potential-component-option-typo
rule.vue/no-reserved-component-names
rule.vue/no-use-v-if-with-v-for
rule.vue/no-useless-mustaches
rule.vue/no-useless-v-bind
rule.vue/valid-v-slot
rule.vue/no-deprecated-slot-attribute
rule when slot name contains _
.v-bind="object"
in vue/attributes-order
rule.vue-eslint-parser
to v7.5.0.vue/no-restricted-syntax
rule.All commits: v7.5.0 -> v7.6.0
vue/no-constant-condition
rule applies no-constant-condition
rule to expressions in <template>
, v-if
, v-show
and v-else-if
.vue/next-tick-style
rule that enforces whether the callback version or Promise version should be used in Vue.nextTick
and this.$nextTick
.vue/valid-next-tick
rule that enforce valid nextTick
function calls.vue/no-ref-as-operand
rule fixable.computed()
support to vue/no-async-in-computed-properties
rule.computed()
support to vue/return-in-computed-property
rule.computed()
support to vue/no-side-effects-in-computed-properties
rule.vue/one-component-per-file
and vue/require-name-property
rules.vue/no-unused-properties
rule.vue/attributes-order
rule.vue/no-async-in-computed-properties
rule.All commits: v7.4.1 -> v7.5.0
no-ref-as-operand
ruleAll commits: v7.4.0 -> v7.4.1
vue/no-restricted-call-after-await
rule that reports your restricted calls after the await
expression.vue/v-on-event-hyphenation
rule that enforces using hyphenated v-on event names on custom components in Vue templates.vue/no-restricted-block
rule that allows you to specify block names that you don't want to use in your application.deepData
option to vue/no-unused-properties
rule.vue/no-unregistered-component
rule.v-bind="object"
syntax in vue/attributes-order
rule.All commits: v7.3.0 -> v7.4.0
vue/new-line-between-multiline-property
rule that enforces new lines between multi-line properties.vue/no-restricted-props
rule that disallows prop names that you don't want to use.vue/no-restricted-custom-event
rule that disallows custom event names that you don't want to use.All commits: v7.2.0 -> v7.3.0
vue/custom-event-name-casing
rule.vue/custom-event-name-casing
rule from "plugin:vue/essential"
and "plugin:vue/vue3-essential"
configurationsis
attr in vue/valid-v-bind-sync
rule.vue/valid-v-slot
rulevue/valid-v-slot
and vue/valid-v-model
rulevue/no-arrow-functions-in-watch
rulevue/v-on-function-call
rule.All commits: v7.1.0 -> v7.2.0
vue/block-tag-newline
rule that enforces a line break (or no line break) after opening and before closing block tags.vue/array-bracket-newline
rule applies array-bracket-newline
rule to expressions in <template>
.ignores
option to vue/custom-event-name-casing
rule.allowModifiers
option to vue/valid-v-slot
rule.vue/no-unregistered-components
rule.vue/no-unused-properties
All commits: v7.0.1 -> v7.1.0