Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 764 Bytes

valid-textarea-component.md

File metadata and controls

17 lines (10 loc) · 764 Bytes

enforce valid <textarea> component (weex/vue/valid-textarea-component)

  • ⚙️ This rule is included in all of "plugin:weex/vue/essential", "plugin:weex/vue/strongly-recommended" and "plugin:weex/vue/recommended".

This rule checks if click event or some unsupport type is used in a <textarea> component.

📖 Rule Details

This rule reports textarea components in the following cases:

  • The component using click event. E.g <textarea @click="click"/>.
  • The component using unsupport type. E.g <textarea type="non-email"/>.

Ref