diff --git a/src/git/git.ts b/src/git/git.ts index d051653..ad536dc 100644 --- a/src/git/git.ts +++ b/src/git/git.ts @@ -62,7 +62,6 @@ const GitWarnings = { foundButNotInRevision: /Path \'.*?\' exists on disk, but not in/i, headNotABranch: /HEAD does not point to a branch/i, noUpstream: /no upstream configured for branch \'(.*?)\'/i, - // tslint:disable-next-line:max-line-length unknownRevision: /ambiguous argument \'.*?\': unknown revision or path not in the working tree|not stored as a remote-tracking branch/i }; diff --git a/src/git/parsers/diffParser.ts b/src/git/parsers/diffParser.ts index f08e1f5..14fc9fd 100644 --- a/src/git/parsers/diffParser.ts +++ b/src/git/parsers/diffParser.ts @@ -11,7 +11,6 @@ import { } from './../git'; const nameStatusDiffRegex = /^(.*?)\t(.*?)(?:\t(.*?))?$/gm; -// tslint:disable-next-line:max-line-length const shortStatDiffRegex = /^\s*(\d+)\sfiles? changed(?:,\s+(\d+)\s+insertions?\(\+\))?(?:,\s+(\d+)\s+deletions?\(-\))?/; const unifiedDiffRegex = /^@@ -([\d]+),([\d]+) [+]([\d]+),([\d]+) @@([\s\S]*?)(?=^@@)/gm; diff --git a/src/git/parsers/remoteParser.ts b/src/git/parsers/remoteParser.ts index 43bbb5a..6dbe3ff 100644 --- a/src/git/parsers/remoteParser.ts +++ b/src/git/parsers/remoteParser.ts @@ -4,7 +4,6 @@ import { GitRemoteType } from '../models/remote'; import { RemoteProvider } from '../remotes/factory'; const remoteRegex = /^(.*)\t(.*)\s\((.*)\)$/gm; -// tslint:disable-next-line:max-line-length const urlRegex = /^(?:(git:\/\/)(.*?)\/|(https?:\/\/)(?:.*?@)?(.*?)\/|git@(.*):|(ssh:\/\/)(?:.*@)?(.*?)(?::.*?)?\/|(?:.*?@)(.*?):)(.*)$/; // Test git urls diff --git a/src/system/string.ts b/src/system/string.ts index 4d5ed02..696e258 100644 --- a/src/system/string.ts +++ b/src/system/string.ts @@ -143,7 +143,6 @@ export namespace Strings { return `${s.substring(0, chars)}${ellipsis}`; } - // tslint:disable-next-line:max-line-length const ansiRegex = /[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))/g; export function width(s: string): number { diff --git a/src/ui/shared/colors.ts b/src/ui/shared/colors.ts index 2242412..3f896a6 100644 --- a/src/ui/shared/colors.ts +++ b/src/ui/shared/colors.ts @@ -1,4 +1,3 @@ -// tslint:disable-next-line:max-line-length const cssColorRegEx = /^(?:(#?)([0-9a-f]{3}|[0-9a-f]{6})|((?:rgb|hsl)a?)\((-?\d+%?)[,\s]+(-?\d+%?)[,\s]+(-?\d+%?)[,\s]*(-?[\d\.]+%?)?\))$/i; function adjustLight(color: number, amount: number) {