Skip to content

Commit de9fadb

Browse files
committed
Disable no-useless-escape of eslint rule on repository regular expression line
1 parent acdfa8f commit de9fadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var rRepoURL = /^(?:(?:git|https?|git\+https|git\+ssh):\/\/)?(?:[^@]+@)?([^\/]+?)[\/:](.+?)\.git$/;
3+
var rRepoURL = /^(?:(?:git|https?|git\+https|git\+ssh):\/\/)?(?:[^@]+@)?([^\/]+?)[\/:](.+?)\.git$/; // eslint-disable-line no-useless-escape
44
var rGithubPage = /\.github\.(io|com)$/;
55

66
function parseRepo(repo) {

0 commit comments

Comments
 (0)