Appease the linter

This commit is contained in:
Travis Ralston 2017-12-22 22:07:18 -07:00
parent 290e244a4e
commit f37a70b7d8
4 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ export class DimensionIntegrationsService {
@GET @GET
@Path("room/:roomId") @Path("room/:roomId")
public getIntegrationsInRoom(@QueryParam("scalar_token") scalarToken: string, @PathParam("roomId") roomId: string) :Promise<IntegrationsResponse>{ public getIntegrationsInRoom(@QueryParam("scalar_token") scalarToken: string, @PathParam("roomId") roomId: string): Promise<IntegrationsResponse> {
console.log(roomId); console.log(roomId);
return this.getEnabledIntegrations(scalarToken); return this.getEnabledIntegrations(scalarToken);
} }

View file

@ -35,7 +35,7 @@ export function getFederationUrl(serverName: string): Promise<string> {
}); });
} }
export function doFederatedApiCall(method: string, serverName: string, endpoint: string, query?: object, body?:object):Promise<any> { export function doFederatedApiCall(method: string, serverName: string, endpoint: string, query?: object, body?: object): Promise<any> {
return getFederationUrl(serverName).then(federationUrl => { return getFederationUrl(serverName).then(federationUrl => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
request({ request({

View file

@ -4,5 +4,5 @@ export interface ScalarRegisterResponse {
export interface ScalarAccountResponse { export interface ScalarAccountResponse {
user_id: string; user_id: string;
//credit: number; // present on scalar-web // credit: number; // present on scalar-web
} }

View file

@ -3,7 +3,7 @@
"node_modules/codelyzer" "node_modules/codelyzer"
], ],
"rules": { "rules": {
"class-name": true, "class-name": false,
"comment-format": [ "comment-format": [
true, true,
"check-space" "check-space"
@ -54,7 +54,7 @@
"check-else", "check-else",
"check-whitespace" "check-whitespace"
], ],
"quotemark": [], "quotemark": false,
"radix": true, "radix": true,
"semicolon": [ "semicolon": [
"always" "always"