diff --git a/docs/rules/no-restricted-static-attribute.md b/docs/rules/no-restricted-static-attribute.md index 68ed58431..428590506 100644 --- a/docs/rules/no-restricted-static-attribute.md +++ b/docs/rules/no-restricted-static-attribute.md @@ -43,6 +43,11 @@ Alternatively, the rule also accepts objects. { "key": "stlye", "message": "Using \"stlye\" is not allowed. Use \"style\" instead." + }, + { + "key": "style", + "element": "/^([A-Z][a-zA-Z_-]*)$/", + "message": "Using \"style\" is not allowed in custom component. Use \"class\" instead." } ] }