-
Notifications
You must be signed in to change notification settings - Fork 762
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve speed of hard-coded url check for linter and fix span highlig…
…hting (#3662) * Benchmark! * Default diagnostics not overridden by config are created once and not expected to change. * Optimize to reduce regex calls and fix to only call base visit once * Fix span mapping for hardcoded url's * Finalize hardcoded url test and optimization * remove override config call - not needed reformat is incidental * Simplify config override logic in linter analyzer * reset global config ignoring diag * Update regex to handle braces when encountered in string tokens * eliminate CI warning for use of non-secure Random() * fix index for crypto random number max value Co-authored-by: Anthony Martin <[email protected]> Co-authored-by: jofleish <[email protected]>
- Loading branch information
1 parent
4c7d000
commit 6e7cd63
Showing
6 changed files
with
159 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.