Skip to content

Commit b89a182

Browse files
authored
Merge branch 'master' into develop/attributes-order--fixable
2 parents 8a560ab + 4c25403 commit b89a182

Some content is hidden

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

61 files changed

+85
-63
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ You can try this plugin on the Web.
1515
## :grey_exclamation: Requirements
1616

1717
- [ESLint](http://eslint.org/) `>=3.18.0`.
18+
- `>=4.7.0` to use `eslint --fix`.
19+
- `>=4.14.0` to use with `babel-eslint`.
1820
- Node.js `>=4.0.0`
1921

2022
## :cd: Installation
@@ -174,7 +176,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
174176
| :wrench: | [vue/html-end-tags](./docs/rules/html-end-tags.md) | enforce end tag style |
175177
| :wrench: | [vue/html-indent](./docs/rules/html-indent.md) | enforce consistent indentation in `<template>` |
176178
| :wrench: | [vue/html-self-closing](./docs/rules/html-self-closing.md) | enforce self-closing style |
177-
| | [vue/max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | enforce the maximum number of attributes per line |
179+
| :wrench: | [vue/max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | enforce the maximum number of attributes per line |
178180
| :wrench: | [vue/mustache-interpolation-spacing](./docs/rules/mustache-interpolation-spacing.md) | enforce unified spacing in mustache interpolations |
179181
| :wrench: | [vue/name-property-casing](./docs/rules/name-property-casing.md) | enforce specific casing for the name property in Vue components |
180182
| :wrench: | [vue/no-multi-spaces](./docs/rules/no-multi-spaces.md) | disallow multiple spaces |
@@ -195,9 +197,10 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
195197

196198
| | Rule ID | Description |
197199
|:---|:--------|:------------|
200+
| | [vue/attributes-order](./docs/rules/attributes-order.md) | enforce order of attributes |
198201
| :wrench: | [vue/html-quotes](./docs/rules/html-quotes.md) | enforce quotes style of HTML attributes |
199202
| | [vue/no-confusing-v-for-v-if](./docs/rules/no-confusing-v-for-v-if.md) | disallow confusing `v-for` and `v-if` on the same element |
200-
| | [vue/order-in-components](./docs/rules/order-in-components.md) | enforce order of properties in components |
203+
| :wrench: | [vue/order-in-components](./docs/rules/order-in-components.md) | enforce order of properties in components |
201204
| | [vue/this-in-template](./docs/rules/this-in-template.md) | enforce usage of `this` in template |
202205

203206
### Uncategorized
@@ -207,6 +210,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
207210
| | [vue/attributes-order](./docs/rules/attributes-order.md) | enforce order of attributes |
208211
| :wrench: | [vue/html-closing-bracket-newline](./docs/rules/html-closing-bracket-newline.md) | require or disallow a line break before tag's closing brackets |
209212
| :wrench: | [vue/html-closing-bracket-spacing](./docs/rules/html-closing-bracket-spacing.md) | require or disallow a space before tag's closing brackets |
213+
| | [vue/prop-name-casing](./docs/rules/prop-name-casing.md) | enforce specific casing for the Prop name in Vue components |
210214
| :wrench: | [vue/script-indent](./docs/rules/script-indent.md) | enforce consistent indentation in `<script>` |
211215

212216
<!--RULES_TABLE_END-->
@@ -235,14 +239,20 @@ If you already use other parser (e.g. `"parser": "babel-eslint"`), please move i
235239

236240
The `vue-eslint-parser` uses the parser which is set by `parserOptions.parser` to parse scripts.
237241

238-
### Can my javascript code have increased indentation?
242+
### Why doesn't it work on .vue file?
239243

240-
It depends on the version of eslint you're using.
244+
1. Make sure you don't have `eslint-plugin-html` in your config. The `eslint-plugin-html` extracts the content from `<script>` tags, but `eslint-vue-plugin` requires `<script>` tags and `<template>` tags in order to distinguish template and script in single file components.
241245

242-
[indent](https://eslint.org/docs/rules/indent) rule in `eslint@3.x` makes it possible, but if you use `eslint@4.x` be aware that this rule has been rewritten and is more strict now, thus it doesn't allow to have increased initial indentation.
246+
```diff
247+
"plugins": [
248+
"vue",
249+
- "html"
250+
]
251+
```
243252

244-
You can however use [indent-legacy](https://eslint.org/docs/rules/indent-legacy) rule instead.
245-
More informations [here](https://eslint.org/docs/user-guide/migrating-to-4.0.0#indent-rewrite).
253+
2. Make sure your tool is set to lint `.vue` files.
254+
- CLI targets only `.js` files by default. You have to specify additional extensions by `--ext` option or glob patterns. E.g. `eslint "src/**/*.{js,vue}"` or `eslint src --ext .vue`.
255+
- VSCode targets only JavaScript or HTML files by default. You have to add `{"autoFix": true, "language": "vue"}` into `eslint.validate` entry.
246256

247257
## :anchor: Semantic Versioning Policy
248258

docs/rules/attributes-order.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# enforce order of attributes (vue/attributes-order)
22

3+
- :gear: This rule is included in `"plugin:vue/recommended"`.
4+
35
## :book: Rule Details
46

57
This rule aims to enfore ordering of component attributes. The default order is specified in the [Vue styleguide](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended) and is:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# enforce the maximum number of attributes per line (vue/max-attributes-per-line)
22

33
- :gear: This rule is included in `"plugin:vue/strongly-recommended"` and `"plugin:vue/recommended"`.
4+
- :wrench: The `--fix` option on the [command line](http://eslint.org/docs/user-guide/command-line-interface#fix) can automatically fix some of the problems reported by this rule.
45

56
Limits the maximum number of attributes/properties per line to improve readability.
67

docs/rules/order-in-components.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# enforce order of properties in components (vue/order-in-components)
22

33
- :gear: This rule is included in `"plugin:vue/recommended"`.
4+
- :wrench: The `--fix` option on the [command line](http://eslint.org/docs/user-guide/command-line-interface#fix) can automatically fix some of the problems reported by this rule.
45

56
This rule makes sure you keep declared order of properties in components.
67

docs/rules/prop-name-casing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# enforce specific casing for the Prop name in Vue components(prop-name-casing)
1+
# enforce specific casing for the Prop name in Vue components (vue/prop-name-casing)
22

33
This rule would enforce proper casing of props in vue components(camelCase).
44

lib/configs/recommended.js

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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/prop-name-casing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = {
6363
description: 'enforce specific casing for the Prop name in Vue components',
6464
category: undefined // 'strongly-recommended'
6565
},
66-
fixable: null, // or "code" or "whitespace"
66+
fixable: null, // or "code" or "whitespace"
6767
schema: [
6868
{
6969
enum: allowedCaseOptions

lib/rules/require-component-is.js

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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: []

0 commit comments

Comments
 (0)