-
Notifications
You must be signed in to change notification settings - Fork 72
chore: add more lint rules #699
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
Conversation
kresimir-coko
left a comment
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.
Looks great, just a couple nitpicks.
| const argumentValue = node.arguments[0].value; | ||
| const argumentName = argumentValue.replace('data-', ''); |
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.
Shouldn't there be an empty line inbetween these?
| * SPDX-License-Identifier: MIT | ||
| */ | ||
|
|
||
| const MESSAGE = 'Every `expect()` should assert something.'; |
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.
Interesting that you went with capitalization here, which prevents you to imply message inside context.report


fixes #12
fixes #6
fixes #311
fixes #3
Slowly working through backlog of eslint rules we wanted to add.