Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change presets configs. #1603

Merged
merged 4 commits into from Oct 20, 2021
Merged

Change presets configs. #1603

merged 4 commits into from Oct 20, 2021

Conversation

ota-meshi
Copy link
Member

@ota-meshi ota-meshi commented Aug 11, 2021

Change presets configs.

  • Changed plugin:vue/vue3-essential config.
    • Added vue/no-deprecated-v-is rule.
    • Added vue/no-export-in-script-setup rule.
    • Added vue/valid-define-emits rule.
    • Added vue/valid-define-props rule.
    • Added vue/valid-next-tick rule.
    • Added vue/valid-v-memo rule.
    • Added vue/no-useless-template-attributes rule.
    • Added vue/no-computed-properties-in-data rule.
    • Added vue/multi-word-component-names rule.
    • Added vue/no-deprecated-router-link-tag-prop rule.
  • Changed plugin:vue/vue3-strongly-recommended config.
    • Same changes as above.
    • Added vue/v-on-event-hyphenation rule.
  • Changed plugin:vue/vue3-recommended config.
    • Same changes as above.
  • Changed plugin:vue/essential config.
    • Added vue/valid-next-tick rule.
    • Added vue/no-useless-template-attributes rule.
    • Added vue/no-computed-properties-in-data rule.
    • Added vue/multi-word-component-names rule.
  • Changed plugin:vue/strongly-recommended config.
    • Same changes as above.
  • Changed plugin:vue/recommended config.
    • Same changes as above.

@@ -86,6 +88,8 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
| [vue/return-in-computed-property](./return-in-computed-property.md) | enforce that a return statement is present in computed property | |
| [vue/return-in-emits-validator](./return-in-emits-validator.md) | enforce that a return statement is present in emits validator | |
| [vue/use-v-on-exact](./use-v-on-exact.md) | enforce usage of `exact` modifier on `v-on` | |
| [vue/valid-define-emits](./valid-define-emits.md) | enforce valid `defineEmits` compiler macro | |
| [vue/valid-define-props](./valid-define-props.md) | enforce valid `defineProps` compiler macro | |
| [vue/valid-template-root](./valid-template-root.md) | enforce valid template root | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it. Thank you!

@ota-meshi ota-meshi merged commit bf77169 into master Oct 20, 2021
@ota-meshi ota-meshi deleted the update-config branch October 20, 2021 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants