Skip to content

Commit 1bc5020

Browse files
committed
Update README and recommended rules config
1 parent 62d97bf commit 1bc5020

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ The `--fix` option on the command line automatically fixes problems reported by
128128
| :white_check_mark: | [no-textarea-mustache](./docs/rules/no-textarea-mustache.md) | disallow mustaches in `<textarea>`. |
129129
| | [order-in-components](./docs/rules/order-in-components.md) | Keep order of properties in components |
130130
| :white_check_mark: | [require-component-is](./docs/rules/require-component-is.md) | require `v-bind:is` of `<component>` elements. |
131+
| | [require-default-prop](./docs/rules/require-default-prop.md) | Require default value for props |
131132
| | [require-prop-types](./docs/rules/require-prop-types.md) | Prop definitions should be detailed |
132133
| :white_check_mark: | [require-v-for-key](./docs/rules/require-v-for-key.md) | require `v-bind:key` with `v-for` directives. |
134+
| | [this-in-template](./docs/rules/this-in-template.md) | enforce usage of `this` in template. |
133135

134136

135137
### Stylistic Issues
@@ -140,6 +142,7 @@ The `--fix` option on the command line automatically fixes problems reported by
140142
| | [html-quotes](./docs/rules/html-quotes.md) | enforce quotes style of HTML attributes. |
141143
| :wrench: | [html-self-closing](./docs/rules/html-self-closing.md) | enforce self-closing style. |
142144
| | [max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | Define the number of attributes allows per line |
145+
| :wrench: | [mustache-interpolation-spacing](./docs/rules/mustache-interpolation-spacing.md) | enforce unified spacing in mustache interpolations. |
143146
| :wrench: | [name-property-casing](./docs/rules/name-property-casing.md) | Requires specific casing for the name property in Vue components |
144147
| :wrench: | [no-multi-spaces](./docs/rules/no-multi-spaces.md) | This rule warns about the usage of extra whitespaces between attributes |
145148
| :wrench: | [v-bind-style](./docs/rules/v-bind-style.md) | enforce `v-bind` directive style. |

lib/recommended-rules.js

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
"vue/html-self-closing": "off",
1212
"vue/jsx-uses-vars": "error",
1313
"vue/max-attributes-per-line": "off",
14+
"vue/mustache-interpolation-spacing": "off",
1415
"vue/name-property-casing": "off",
1516
"vue/no-async-in-computed-properties": "off",
1617
"vue/no-confusing-v-for-v-if": "error",
@@ -40,11 +41,13 @@ module.exports = {
4041
"vue/no-textarea-mustache": "error",
4142
"vue/order-in-components": "off",
4243
"vue/require-component-is": "error",
44+
"vue/require-default-prop": "off",
4345
"vue/require-prop-types": "off",
4446
"vue/require-render-return": "off",
4547
"vue/require-v-for-key": "error",
4648
"vue/require-valid-default-prop": "off",
4749
"vue/return-in-computed-property": "off",
50+
"vue/this-in-template": "off",
4851
"vue/v-bind-style": "off",
4952
"vue/v-on-style": "off",
5053
"vue/valid-template-root": "error",

0 commit comments

Comments
 (0)