vue/no-static-inline-styles
disallow static inline
styleattributes
📖 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 <style> tag.
🔧 Options
json
{
"vue/no-static-inline-styles": ["error", {
"allowBinding": false
}]
}- allowBinding ... if
true, allow binding static inlinestyle. defaultfalse.
"allowBinding": true
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0