Rule proposal: Prefer styleUrl #1697
Closed
reduckted
started this conversation in
New Rule Proposals
Replies: 1 comment
-
Please contribute your thoughts directly on the open PR: #1629 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Angular 17 introduced the
styleUrl: string
property as an alternative to thestyleUrls: string[]
property. A lint rule to enforce the use ofstyleUrl
when there's only a single URL would be great.The
style
property can also be a string instead of astring[]
, which could be checked by the same rule.References:
Beta Was this translation helpful? Give feedback.
All reactions