Skip to content
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

Add tests to ensure rules have tests and basic rule doc #105

Merged
merged 2 commits into from
Aug 28, 2020

Conversation

bmish
Copy link
Member

@bmish bmish commented Aug 28, 2020

This adds two initial tests for ensuring rule consistency. I plan to follow-up with additional tests soon.

Inspired by a similar suite of rule tests in eslint-plugin-ember and ember-template-lint.

@coveralls
Copy link

coveralls commented Aug 28, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 3bcc7b0 on bmish:test-docs-title into 772c9e4 on platinumazure:master.

Copy link
Collaborator

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR! Little things do make a difference and add up over time, and I agree that these are useful "rules" to enforce on the rule tests and docs.

I wanted to call out a possible improvement to a regular expression-- let me know what you think. Otherwise, this looks good to me!

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Co-authored-by: Kevin Partington <platinumazure@gmail.com>
Copy link
Collaborator

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@platinumazure platinumazure merged commit cec187c into qunitjs:master Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants