Skip to content

Conversation

@erosman
Copy link
Contributor

@erosman erosman commented Jun 29, 2021

Fix JSHint option error since v5.62.0 by deep cloning state.options and removing highlightLines before passing to JSHint
Cache highlightLines value outside the loop
Remove isHighlightErrorLinesEnabled() since it is only used twice and has a static value

Fix JSHint option error since v5.62.0 by deep cloning `state.options` and removing `highlightLines` before passing to JSHint - lines 154-155
Cache `highlightLines` value outside the loop - line 183, 215
Remove `isHighlightErrorLinesEnabled()` since it is used only twice and has a static value - lines 80, 183
@marijnh marijnh closed this in 70c615c Jun 30, 2021
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