diff --git a/.eslintrc.js b/.eslintrc.js index c7c48ea735..9ac6c5a24f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -195,8 +195,8 @@ module.exports = { message: 'Enums are not allowed. Use string literal types (e.g., type Foo = "a" | "b") or const objects instead.' }, { - selector: 'Literal[value=/^ng-reflect-/]', - message: 'ng-reflect-* attributes should not be used. Consider alternatives for proper selectors.' + selector: 'Literal[value=/ng-reflect-/]', + message: '*ng-reflect-* attributes should not be used. Consider alternatives for proper selectors.' } ] }