From 29b8334b060dc0c05a509d523ead4b3a30229fef Mon Sep 17 00:00:00 2001 From: vantezzen Date: Thu, 5 Sep 2019 11:22:49 +0200 Subject: Add eslint --- app/Models/Traits/NoTimestamp.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'app/Models/Traits') diff --git a/app/Models/Traits/NoTimestamp.js b/app/Models/Traits/NoTimestamp.js index edd07f0..c647428 100644 --- a/app/Models/Traits/NoTimestamp.js +++ b/app/Models/Traits/NoTimestamp.js @@ -1,16 +1,15 @@ -'use strict' class NoTimestamp { - register (Model) { + register(Model) { Object.defineProperties(Model, { createdAtColumn: { get: () => null, }, updatedAtColumn: { get: () => null, - } - }) + }, + }); } } -module.exports = NoTimestamp +module.exports = NoTimestamp; -- cgit v1.2.3-54-g00ecf