-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
[Docs] anchor-is-valid
: general cleanup
#728
Conversation
- swap `div` for `span`, since `a` is an inline element.
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.
There's a ton of reformatting here, and it's not clear what typo this is fixing? "different to a" and "different than a" are equivalent.
docs/rules/anchor-is-valid.md
Outdated
> | ||
onMouseEnter={() => this.setState({ showSomething: true })}>{label} |
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.
this introduces a syntax error.
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.
The main issue I wanted to address was the change from div
to span
. The formatting must have been my IDE setting, I thought it followed the project settings.
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.
these are overall an improvement, so let's just merge it
Codecov Report
@@ Coverage Diff @@
## master #728 +/- ##
=======================================
Coverage 99.24% 99.24%
=======================================
Files 98 98
Lines 1452 1452
Branches 477 477
=======================================
Hits 1441 1441
Misses 11 11 Continue to review full report at Codecov.
|
Changed L48, the rest is just formatting.