-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add rule no inline styles #224
Conversation
The PR ci failed, please check the details 👀 |
Hi @Whomy09 You can check details by running |
src/rules/rrd/noInlineStyles.ts
Outdated
const matches = [...template.content.matchAll(regex)] | ||
|
||
matches?.forEach((match) => { | ||
const lineNumber = getLineNumber(template.content.trim(), match[0]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add the from
parameter here otherwise if the same pattern found multiple times, it will report the same line number for them
Summary
A new rule was added and the respective documentation was also added.
Related Issues
#206
Type of Change