Sfoglia il codice sorgente

Removes unneeded tslint disables

main
Eric Amodio 6 anni fa
parent
commit
1aad930203
5 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  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 Vedi File

@ -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 Vedi File

@ -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 Vedi File

@ -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 Vedi File

@ -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 Vedi File

@ -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) {

Caricamento…
Annulla
Salva