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

Fix lint issues #285

Merged
merged 2 commits into from
Mar 2, 2024
Merged

Fix lint issues #285

merged 2 commits into from
Mar 2, 2024

Conversation

maaslalani
Copy link
Contributor

  • fix(lint): cascadeStyles always passed true
  • fix(lint): gomnd

@maaslalani maaslalani requested a review from muesli as a code owner March 2, 2024 20:06
@@ -138,11 +138,11 @@ type StyleConfig struct {
HTMLSpan StyleBlock `json:"html_span,omitempty"`
}

func cascadeStyles(toBlock bool, s ...StyleBlock) StyleBlock {
func cascadeStyles(s ...StyleBlock) StyleBlock {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@muesli Feel free to revert these changes if they're necessary for the future

@maaslalani maaslalani merged commit 61945ee into master Mar 2, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant