chore: Move to prettier standard double quotes (#1309)

This commit is contained in:
Tom Moor
2020-06-20 13:59:15 -07:00
committed by GitHub
parent 2a3b9e2104
commit f43deb7940
444 changed files with 5988 additions and 5977 deletions

View File

@@ -1,6 +1,6 @@
// @flow
import BaseModel from './BaseModel';
import User from './User';
import BaseModel from "./BaseModel";
import User from "./User";
class Event extends BaseModel {
id: string;
@@ -20,16 +20,16 @@ class Event extends BaseModel {
};
get model() {
return this.name.split('.')[0];
return this.name.split(".")[0];
}
get verb() {
return this.name.split('.')[1];
return this.name.split(".")[1];
}
get verbPastTense() {
const v = this.verb;
if (v.endsWith('e')) return `${v}d`;
if (v.endsWith("e")) return `${v}d`;
return `${v}ed`;
}
}