Skip to content

Commit d7de72f

Browse files
committed
4.3.0
1 parent 0db4f93 commit d7de72f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+62
-55
lines changed

README.md

+4-3

docs/rules/attributes-order.md

+2

docs/rules/max-attributes-per-line.md

+1

docs/rules/order-in-components.md

+1

docs/rules/prop-name-casing.md

+1-1

lib/configs/recommended.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
module.exports = {
77
extends: require.resolve('./strongly-recommended'),
88
rules: {
9+
'vue/attributes-order': 'error',
910
'vue/html-quotes': 'error',
1011
'vue/no-confusing-v-for-v-if': 'error',
1112
'vue/order-in-components': 'error',

lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module.exports = {
3333
'no-textarea-mustache': require('./rules/no-textarea-mustache'),
3434
'no-unused-vars': require('./rules/no-unused-vars'),
3535
'order-in-components': require('./rules/order-in-components'),
36+
'prop-name-casing': require('./rules/prop-name-casing'),
3637
'require-component-is': require('./rules/require-component-is'),
3738
'require-default-prop': require('./rules/require-default-prop'),
3839
'require-prop-types': require('./rules/require-prop-types'),

lib/rules/attribute-hyphenation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
docs: {
1717
description: 'enforce attribute naming style in template',
1818
category: 'strongly-recommended',
19-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/attribute-hyphenation.md'
19+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/attribute-hyphenation.md'
2020
},
2121
fixable: 'code',
2222
schema: [

lib/rules/comment-directive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module.exports = {
109109
docs: {
110110
description: 'support comment-directives in `<template>`',
111111
category: 'base',
112-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/comment-directive.md'
112+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/comment-directive.md'
113113
},
114114
schema: []
115115
},

lib/rules/html-closing-bracket-newline.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
docs: {
3333
description: "require or disallow a line break before tag's closing brackets",
3434
category: undefined,
35-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/html-closing-bracket-newline.md'
35+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/html-closing-bracket-newline.md'
3636
},
3737
fixable: 'whitespace',
3838
schema: [{

lib/rules/html-closing-bracket-spacing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = {
5353
docs: {
5454
description: 'require or disallow a space before tag\'s closing brackets',
5555
category: undefined,
56-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/html-closing-bracket-spacing.md'
56+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/html-closing-bracket-spacing.md'
5757
},
5858
schema: [{
5959
type: 'object',

lib/rules/html-end-tags.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'enforce end tag style',
2222
category: 'strongly-recommended',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/html-end-tags.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/html-end-tags.md'
2424
},
2525
fixable: 'code',
2626
schema: []

lib/rules/html-indent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
docs: {
3030
description: 'enforce consistent indentation in `<template>`',
3131
category: 'strongly-recommended',
32-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/html-indent.md'
32+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/html-indent.md'
3333
},
3434
fixable: 'whitespace',
3535
schema: [

lib/rules/html-quotes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'enforce quotes style of HTML attributes',
2222
category: 'recommended',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/html-quotes.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/html-quotes.md'
2424
},
2525
fixable: 'code',
2626
schema: [

lib/rules/html-self-closing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = {
8888
docs: {
8989
description: 'enforce self-closing style',
9090
category: 'strongly-recommended',
91-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/html-self-closing.md'
91+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/html-self-closing.md'
9292
},
9393
fixable: 'code',
9494
schema: {

lib/rules/jsx-uses-vars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
docs: {
4040
description: 'prevent variables used in JSX to be marked as unused', // eslint-disable-line consistent-docs-description
4141
category: 'base',
42-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/jsx-uses-vars.md'
42+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/jsx-uses-vars.md'
4343
},
4444
schema: []
4545
},

lib/rules/max-attributes-per-line.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
docs: {
1515
description: 'enforce the maximum number of attributes per line',
1616
category: 'strongly-recommended',
17-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/max-attributes-per-line.md'
17+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/max-attributes-per-line.md'
1818
},
1919
fixable: 'whitespace', // or "code" or "whitespace"
2020
schema: [

lib/rules/mustache-interpolation-spacing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
docs: {
2020
description: 'enforce unified spacing in mustache interpolations',
2121
category: 'strongly-recommended',
22-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/mustache-interpolation-spacing.md'
22+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/mustache-interpolation-spacing.md'
2323
},
2424
fixable: 'whitespace',
2525
schema: [

lib/rules/name-property-casing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
docs: {
1818
description: 'enforce specific casing for the name property in Vue components',
1919
category: 'strongly-recommended',
20-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/name-property-casing.md'
20+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/name-property-casing.md'
2121
},
2222
fixable: 'code', // or "code" or "whitespace"
2323
schema: [

lib/rules/no-async-in-computed-properties.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = {
6464
docs: {
6565
description: 'disallow asynchronous actions in computed properties',
6666
category: 'essential',
67-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-async-in-computed-properties.md'
67+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-async-in-computed-properties.md'
6868
},
6969
fixable: null,
7070
schema: []

lib/rules/no-confusing-v-for-v-if.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
docs: {
4040
description: 'disallow confusing `v-for` and `v-if` on the same element',
4141
category: 'recommended',
42-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-confusing-v-for-v-if.md'
42+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-confusing-v-for-v-if.md'
4343
},
4444
fixable: null,
4545
schema: []

lib/rules/no-dupe-keys.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
docs: {
1818
description: 'disallow duplication of field names',
1919
category: 'essential',
20-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-dupe-keys.md'
20+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-dupe-keys.md'
2121
},
2222
fixable: null, // or "code" or "whitespace"
2323
schema: [

lib/rules/no-duplicate-attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
docs: {
4040
description: 'disallow duplication of attributes',
4141
category: 'essential',
42-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-duplicate-attributes.md'
42+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-duplicate-attributes.md'
4343
},
4444
fixable: null,
4545

lib/rules/no-multi-spaces.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
docs: {
1414
description: 'disallow multiple spaces',
1515
category: 'strongly-recommended',
16-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-multi-spaces.md'
16+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-multi-spaces.md'
1717
},
1818
fixable: 'whitespace', // or "code" or "whitespace"
1919
schema: []

lib/rules/no-parsing-error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = {
5858
docs: {
5959
description: 'disallow parsing errors in `<template>`',
6060
category: 'essential',
61-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-parsing-error.md'
61+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-parsing-error.md'
6262
},
6363
fixable: null,
6464
schema: [

lib/rules/no-reserved-keys.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
docs: {
1919
description: 'disallow overwriting reserved keys',
2020
category: 'essential',
21-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-reserved-keys.md'
21+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-reserved-keys.md'
2222
},
2323
fixable: null,
2424
schema: [

lib/rules/no-shared-component-data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = {
4040
docs: {
4141
description: "enforce component's data property to be a function",
4242
category: 'essential',
43-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-shared-component-data.md'
43+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-shared-component-data.md'
4444
},
4545
fixable: 'code',
4646
schema: []

lib/rules/no-side-effects-in-computed-properties.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
docs: {
1616
description: 'disallow side effects in computed properties',
1717
category: 'essential',
18-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-side-effects-in-computed-properties.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-side-effects-in-computed-properties.md'
1919
},
2020
fixable: null,
2121
schema: []

lib/rules/no-template-key.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'disallow `key` attribute on `<template>`',
2222
category: 'essential',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-template-key.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-template-key.md'
2424
},
2525
fixable: null,
2626
schema: []

lib/rules/no-textarea-mustache.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'disallow mustaches in `<textarea>`',
2222
category: 'essential',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-textarea-mustache.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-textarea-mustache.md'
2424
},
2525
fixable: null,
2626
schema: []

lib/rules/no-unused-vars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
docs: {
1616
description: 'disallow unused variable definitions of v-for directives or scope attributes',
1717
category: 'essential',
18-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/no-unused-vars.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/no-unused-vars.md'
1919
},
2020
fixable: null,
2121
schema: []

lib/rules/order-in-components.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ module.exports = {
135135
docs: {
136136
description: 'enforce order of properties in components',
137137
category: 'recommended',
138-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/order-in-components.md'
138+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/order-in-components.md'
139139
},
140140
fixable: 'code', // null or "code" or "whitespace"
141141
schema: [

lib/rules/require-component-is.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'require `v-bind:is` of `<component>` elements',
2222
category: 'essential',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/require-component-is.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/require-component-is.md'
2424
},
2525
fixable: null,
2626
schema: []

lib/rules/require-default-prop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
docs: {
1616
description: 'require default value for props',
1717
category: 'strongly-recommended',
18-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/require-default-prop.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/require-default-prop.md'
1919
},
2020
fixable: null, // or "code" or "whitespace"
2121
schema: []

lib/rules/require-prop-types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
docs: {
1616
description: 'require type definitions in props',
1717
category: 'strongly-recommended',
18-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/require-prop-types.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/require-prop-types.md'
1919
},
2020
fixable: null, // or "code" or "whitespace"
2121
schema: [

lib/rules/require-render-return.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
docs: {
1616
description: 'enforce render function to always return value',
1717
category: 'essential',
18-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/require-render-return.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/require-render-return.md'
1919
},
2020
fixable: null, // or "code" or "whitespace"
2121
schema: []

lib/rules/require-v-for-key.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'require `v-bind:key` with `v-for` directives',
2222
category: 'essential',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/require-v-for-key.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/require-v-for-key.md'
2424
},
2525
fixable: null,
2626
schema: []

lib/rules/require-valid-default-prop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
docs: {
2525
description: 'enforce props default values to be valid',
2626
category: 'essential',
27-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/require-valid-default-prop.md'
27+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/require-valid-default-prop.md'
2828
},
2929
fixable: null,
3030
schema: []

lib/rules/return-in-computed-property.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
docs: {
1616
description: 'enforce that a return statement is present in computed property',
1717
category: 'essential',
18-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/return-in-computed-property.md'
18+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/return-in-computed-property.md'
1919
},
2020
fixable: null, // or "code" or "whitespace"
2121
schema: [

lib/rules/script-indent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = {
1919
docs: {
2020
description: 'enforce consistent indentation in `<script>`',
2121
category: undefined,
22-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/script-indent.md'
22+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/script-indent.md'
2323
},
2424
fixable: 'whitespace',
2525
schema: [

lib/rules/this-in-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'enforce usage of `this` in template',
2222
category: 'recommended',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/this-in-template.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/this-in-template.md'
2424
},
2525
fixable: null,
2626
schema: [

lib/rules/v-bind-style.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
docs: {
2121
description: 'enforce `v-bind` directive style',
2222
category: 'strongly-recommended',
23-
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.2.2/docs/rules/v-bind-style.md'
23+
url: 'https://github.com/vuejs/eslint-plugin-vue/blob/v4.3.0/docs/rules/v-bind-style.md'
2424
},
2525
fixable: 'code',
2626
schema: [

0 commit comments

Comments
 (0)