Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 680 Bytes

no-style-display.md

File metadata and controls

12 lines (7 loc) · 680 Bytes

weex not support to use display in style (weex/vue/no-style-display)

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

Weex does not support display property, the default layout elements are flex layouts, it means if you are using a <div> element, it will be display:flex.

📖 Rule Details

This rule reports components in the following cases:

  • The component has that style attribute. E.g <cell style="display: none;"></cell>.
  • The component has that class attribute. E.g <cell class="displayClass"></cell> <style>.displayClass{ display: node; }</style>.