-
Notifications
You must be signed in to change notification settings - Fork 327
chore: add @html-eslint #2520
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
base: master
Are you sure you want to change the base?
chore: add @html-eslint #2520
Conversation
|
@@ -575,6 +576,7 @@ export class LionCalendar extends LocalizeMixin(LitElement) { | |||
|
|||
return html` | |||
<button | |||
type="button" |
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.
@@ -1069,7 +1069,7 @@ describe('lion-combobox', () => { | |||
const tag = unsafeStatic(tagName); | |||
|
|||
const el = /** @type {LionCombobox} */ ( | |||
await fixture(html` | |||
await fixture(html` |
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.
@okadurin @gerjanvangeest Just gently pinging :) If it’s not a good fit, please feel free to let me know — I’ll go ahead and close the PR. |
@yeonjuan Thanks for the contribution. Half the team is gone atm, while workload is rocketing. So this PR will have to wait for a bit. |
What I did
Hi! 👋
I'm a maintainer of the html-eslint plugin, which brings HTML linting support to ESLint.
While exploring the ing-bank/lion project, I tried applying html-eslint and found that it works well here. This PR adds HTML linting and includes a few fixes based on the results — such as adding missing type="button" to buttons (to prevent unintended form submissions) and removing unnecessary whitespace.
If this seems useful, I’d be happy to discuss further or help tune the lint rules for your setup. Would you be interested? 😊