diff --git a/docs/rules/README.md b/docs/rules/README.md index cbef00777..3eee0cc68 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -159,6 +159,7 @@ For example: | [vue/no-empty-pattern](./no-empty-pattern.md) | disallow empty destructuring patterns | | | [vue/no-reserved-component-names](./no-reserved-component-names.md) | disallow the use of reserved names in component definitions | | | [vue/no-restricted-syntax](./no-restricted-syntax.md) | disallow specified syntax | | +| [vue/no-static-inline-styles](./no-static-inline-styles.md) | disallow static inline `style` attributes | | | [vue/no-unsupported-features](./no-unsupported-features.md) | disallow unsupported Vue.js syntax on the specified version | :wrench: | | [vue/object-curly-spacing](./object-curly-spacing.md) | enforce consistent spacing inside braces | :wrench: | | [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | | diff --git a/docs/rules/no-static-inline-styles.md b/docs/rules/no-static-inline-styles.md new file mode 100644 index 000000000..88ab28833 --- /dev/null +++ b/docs/rules/no-static-inline-styles.md @@ -0,0 +1,69 @@ +--- +pageClass: rule-details +sidebarDepth: 0 +title: vue/no-static-inline-styles +description: disallow static inline `style` attributes +--- +# vue/no-static-inline-styles +> disallow static inline `style` attributes + +## :book: Rule Details + +This rule reports static inline `style` bindings and `style` attributes. +The styles reported in this rule mean that we recommend separating them into `