ソースを参照

Removes unneeded tslint disables

main
Eric Amodio 6年前
コミット
1aad930203
5個のファイルの変更0行の追加5行の削除
  1. +0
    -1
      src/git/git.ts
  2. +0
    -1
      src/git/parsers/diffParser.ts
  3. +0
    -1
      src/git/parsers/remoteParser.ts
  4. +0
    -1
      src/system/string.ts
  5. +0
    -1
      src/ui/shared/colors.ts

+ 0
- 1
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
};

+ 0
- 1
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;

+ 0
- 1
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

+ 0
- 1
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 {

+ 0
- 1
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) {

読み込み中…
キャンセル
保存