Skip to content

Commit aabd645

Browse files
committed
refactor: remove unused eslint-disable directive (no problems were reported from 'unicorn/better-regex')
1 parent fe12896 commit aabd645

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

js/src/util/sanitizer.js

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ const uriAttributes = new Set([
6666
*
6767
* Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38
6868
*/
69-
// eslint-disable-next-line unicorn/better-regex
7069
const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i
7170

7271
const allowedAttribute = (attribute, allowedAttributeList) => {

0 commit comments

Comments
 (0)