Use Prettier JS (#5017)

* Adds prettier

* Run lint before tests
This commit is contained in:
Florent Vilmart
2018-09-01 13:58:06 -04:00
committed by GitHub
parent 189cd259ee
commit d83a0b6808
240 changed files with 41098 additions and 29020 deletions

View File

@@ -11,7 +11,7 @@ export class LiveQueryController {
} else if (config.classNames instanceof Array) {
this.classNames = new Set(config.classNames);
} else {
throw 'liveQuery.classes should be an array of string'
throw 'liveQuery.classes should be an array of string';
}
this.liveQueryPublisher = new ParseCloudCodePublisher(config);
}
@@ -38,7 +38,7 @@ export class LiveQueryController {
_makePublisherRequest(currentObject: any, originalObject: any): any {
const req = {
object: currentObject
object: currentObject,
};
if (currentObject) {
req.original = originalObject;