Official ESLint plugin for Vue.js
MIT License
Bot releases are visible (Hide)
Published by ota-meshi almost 5 years ago
Published by ota-meshi almost 5 years ago
no-reserved-component-names
, match-component-file-name
and component-definition-name-casing
rulesAll commits: v6.1.0 -> v6.1.1
Published by ota-meshi almost 5 years ago
vue/static-class-names-order
rule that enforce the order of static class names.vue/require-name-property
rule that require a name property in Vue components.vue/no-reserved-component-names
rule that disallow the use of reserved names in component definitions.vue/component-tags-order
rule that enforce the order of component top-level elements.vue/component-definition-name-casing
rule that enforce specific casing for component definition name.vue/valid-v-bind-sync
rule that checks whether every .sync
modifier on v-bind
directives is valid.vue/no-deprecated-slot-attribute
rule that disallows slot
attribute.vue/no-deprecated-slot-scope-attribute
rule that disallows slot-scope
attribute.vue/no-unsupported-features
rule that disallow unsupported Vue.js syntax on the specified version.vue/no-static-inline-styles
rule that disallow static inline style
attributes.vue/max-len
rule that enforces a maximum line length.vue/no-irregular-whitespace
rule that disallow irregular whitespace.html-indent
does not workAll commits: v6.0.2 -> v6.1.0
Published by ota-meshi almost 5 years ago
no-async-in-computed-properties
.require-prop-type-constructor
.require-prop-type-constructor
.All commits: v6.0.1 -> v6.0.2
Published by ota-meshi almost 5 years ago
vue/prop-name-casing
.Nuxt
properties to the default order of vue/order-in-components
.vue-eslint-parser
@6.0.4vue/no-empty-pattern
rule applies no-empty-pattern
rule to expressions in <template>
.vue/dot-location
rule applies dot-location
rule to expressions in <template>
.vue/keyword-spacing
rule applies keyword-spacing
rule to expressions in <template>
.vue/no-deprecated-scope-attribute
rule that reports deprecated scope
attribute in Vue.js v2.5.0+.vue/valid-v-slot
rule that checks whether every v-slot
directive is valid.vue/v-slot-style
rule that enforces v-slot
directive style which you should use shorthand or long form.vue/use-v-on-exact
to allows events with different key codesvue/valid-v-else
rule messageAll commits: v5.2.3 -> v6.0.0
vue/v-on-function-call
rule that enforces or forbids parentheses after method calls without arguments in v-on
directives.vue/require-direct-export
rule that enforces the component to be directly exported.vue/no-boolean-default
rule that disallows the default value of boolean properties.vue/match-component-file-name
rule that verifies component name property to match its file name.vue/array-bracket-spacing
rule that enforces consistent spacing inside array brackets in <template>
.vue/eqeqeq
rule that applies eqeqeq
rule to expressions in <template>
.vue/key-spacing
rule that applies key-spacing
rule to expressions in <template>
.vue/object-curly-spacing
rule that applies object-curly-spacing
rule to expressions in <template>
.vue/space-infix-ops
rule that applies space-infix-ops
rule to expressions in <template>
.vue/space-unary-ops
rule that applies space-unary-ops
rule to expressions in <template>
.vue/no-restricted-syntax
rule that applies no-restricted-syntax
rule to expressions in <template>
.vue/arrow-spacing
rule that applies arrow-spacing
rule to expressions in <template>
.vue/block-spacing
rule that applies block-spacing
rule to expressions in <template>
.vue/brace-style
rule that applies brace-style
rule to expressions in <template>
.vue/camelcase
rule that applies camelcase
rule to expressions in <template>
.vue/comma-dangle
rule that applies comma-dangle
rule to expressions in <template>
.registeredComponentsOnly
option to vue/component-name-in-template-casing
rule to ignore unknown elements.vue/order-in-components
rule to recognize Nuxt-specific members.vue/multiline-html-element-content-newline
rule and vue/singleline-html-element-content-newline
rule to ignore inline elements by default.vue/no-async-in-computed-properties
rule to allow await expression in nested scopes.vue/use-v-on-exact
rule about false positives.vue-eslint-parser
.
v-on
directive correctly.slot-scope
attribute correctly.v-pre
directive.vue/no-unused-components
rule to process computed properties properly.vue/require-default-prop
rule and vue/require-valid-default-prop
rule to process computed properties properly.vue/no-unused-components
rule to process empty :is
directives properly.All commits: v5.1.0...v5.2.0
vue/component-name-in-template-casing
rule from vue/strongly-recommended
preset.vue/order-in-components
rule, on Node.js 11.vue/html-indent
rule.All commits: v5.0.0...v5.1.0
order
options of vue/attribute-order
rule. "BINDING"
was removed and "TWO_WAY_BINDING"
and "OTHER_DIRECTIVES"
were added.vue/html-closing-bracket-newline
rule.slot-scope
attribute.--fix-type
option of ESLint.vue/no-template-shadow
rule.vue/component-name-in-template-casing
rule.vue/no-spaces-around-equal-signs-in-attribute
rule.vue/no-unused-components
rule.vue/require-prop-type-constructor
rule.vue/multiline-html-element-content-newline
rule.vue/singleline-html-element-content-newline
rule.vue/use-v-on-exact
rule.order
option of vue/attribute-order
rule to allow multiple categories on the same order.ignoreWhenBindingPresent
option to vue/no-unused-components
rule to prevent false positive by dynamic bindings.modifiers
option to vue/valid-v-on
rule to support custom modifiers.ignoreProperties
option to vue/no-multi-spaces
rule to use vertical alignment style.baseIndent
option to vue/html-indent
rule.vue/script-indent
rule to not work on other than .vue
files.vue/valid-v-on
rule.vue/max-attributes-per-line
rule.vue/script-indent
rule to make correct indentations.v-on
directive without that argument to be parsed correctly.vue/require-default-prop
rule to ignore boolean properties.vue/html-self-closing
and vue/component-name-in-template-casing
.vue/order-in-components
rule.vue/valid-v-model
rule.vue/valid-v-model
rule.vue/require-render-return
rule and vue/return-in-computed-property
rule.<pre>
elements in vue/html-indent
rule.vue/script-indent
rule.vue/html-indent
rule.<textarea>
elements in vue/html-indent
rule.All commits: v4.7.1...v5.0.0
Diff: v5.0.0-beta.5 -> v5.0.0-beta.6
vue/html-indent
<textarea>
elementsbaseIndent
option to vue/html-indent
ignoreWhenEmpty
option to vue/[single|multiline]-element-content-newline
vue-eslint-parser
to v4vue/html-quotes
to strongly-recommended
configPublished by armano2 almost 6 years ago
Diff: v5.0.0-beta.4 -> v5.0.0-beta.5
--fix-type
cli parameter works with our pluginPublished by armano2 almost 6 years ago
Diff: v5.0.0-beta.3 -> v5.0.0-beta.4
ignoreProperties
option to no-multi-spaces rulemodifiers
option to valid-v-on rulekabab-case
and snake_case
for propIDliterals
prop
related rulesexport default (Vue as VueConstructor<Vue>).extend({
syntaxeslint-plugin-html
from dependenciesDiff: v5.0.0-beta.2 -> v5.0.0-beta.3
8673fc3 #414 Add no-unused-components rule
47cc8d3 #323 Add require-prop-type-constructor rule
bf7c2b7 #460 Add no-spaces-around-equal-signs-in-attribute rule
e53bfd3 #551 Add multiline-html-element-content-newline rule
3f5d41e #552 Add singleline-html-element-content-newline rule
ab624da a7d0b3c Update documentation
Diff: v5.0.0-beta.1 -> v5.0.0-beta.2
.vue
(built in indent rules are not recommended to be used on other files than .vue
, native eslint rule should be used instead)vue/html-closing-bracket-newline
vue/require-default-prop
rulevue/no-use-v-if-v-for
category to essential
Diff: v5.0.0-beta.0 -> v5.0.0-beta.1
Diff: v4.7.0 -> v5.0.0-beta.0
v-bind
order in vue/attribute-order
ruleupgrade vue-eslint-parser
, drop support for Node 4 and old stuff. More details in linked PRDiff: v4.7.0 -> v4.7.1
validator
without type
in vue/require-prop-types
--fix
option