tslint changes

This commit is contained in:
Jeremy Simpson
2019-08-30 01:52:40 -07:00
parent 7603879d35
commit 7f7efbb94b
446 changed files with 70650 additions and 70661 deletions
+1
View File
@@ -4,5 +4,6 @@ node_modules/
/build-copy/
/logs/
/settings/
.idea/
/config.json
File diff suppressed because one or more lines are too long
-1
View File
@@ -3475,4 +3475,3 @@ export const head1 = [
undefined,
[[0, 1, 3, 5, 6, 8, 9, 11, 12, 13, 15, 17, 18, 19].map(i => head[1]![0]![i])],
];
+1 -1
View File
@@ -15,7 +15,7 @@ interface NodeStaticImage {
new(width?: number, height?: number): NodeCanvasImage;
}
declare module "canvas" {
declare module 'canvas' {
export function createCanvas(width: number, height: number): HTMLCanvasElement;
export type Canvas = HTMLCanvasElement;
export const Image: NodeStaticImage;
+1 -1
View File
@@ -1,5 +1,5 @@
interface HTMLCanvasElement {
getContext(contextId: "webgl2", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null;
getContext(contextId: 'webgl2', contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null;
}
interface WebGLRenderingContext {
+1 -1
View File
@@ -1,4 +1,4 @@
declare module "fs" {
declare module 'fs' {
import * as Promise from "bluebird";
export function writeFileAsync(filename: string, data: any): Promise<void>;
+4
View File
@@ -40,7 +40,9 @@ declare module 'patreon' {
export interface PatreonClient {
(pathname: string): Promise<PatronData>;
getStore(): any;
setStore(store: { sync: () => void }): void;
}
@@ -54,9 +56,11 @@ declare module 'patreon' {
export interface PatreonOAuthClient {
getTokens(redirectCode: string, redirectUri: string): Promise<PatreonTokens>;
refreshToken(refreshToken: string): Promise<any>;
}
export function patreon(accessToken: string): PatreonClient;
export function oauth(clientId: string, clientSecret: string): PatreonOAuthClient;
}
+4 -3
View File
@@ -10,7 +10,8 @@
"forin": true,
"indent": [
true,
"tabs"
"spaces",
2
],
"label-position": true,
"no-arg": true,
@@ -36,11 +37,11 @@
"no-trailing-whitespace": true,
"linebreak-style": [
true,
"CRLF"
"LF"
],
"max-line-length": [
true,
130
140
],
"one-line": [
true,