Revert codestyle changes (#40)

* Revert "7f7efbb94bab8574e42d942ad82d414e007b2970"

Code style changes should probably be part of a PR
This commit is contained in:
Eliot Partridge
2019-08-30 10:53:14 -05:00
committed by GitHub
parent eefd9e9a2c
commit caf70a864f
446 changed files with 70667 additions and 70655 deletions
File diff suppressed because one or more lines are too long
+1
View File
@@ -3475,3 +3475,4 @@ 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,9 +40,7 @@ declare module 'patreon' {
export interface PatreonClient {
(pathname: string): Promise<PatronData>;
getStore(): any;
setStore(store: { sync: () => void }): void;
}
@@ -56,11 +54,9 @@ 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;
}
+3 -4
View File
@@ -10,8 +10,7 @@
"forin": true,
"indent": [
true,
"spaces",
2
"tabs"
],
"label-position": true,
"no-arg": true,
@@ -37,11 +36,11 @@
"no-trailing-whitespace": true,
"linebreak-style": [
true,
"LF"
"CRLF"
],
"max-line-length": [
true,
140
130
],
"one-line": [
true,