From 00387d9ad38049db555cad7b5cb375167a108a6e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 28 Jun 2020 18:56:14 +0300 Subject: style: fix linting errors --- models/feedback/feedback.model.ts | 2 +- models/votes/vote.schema.ts | 2 +- populateDb.ts | 7 ++++++- services/feedback/feedback.hooks.ts | 1 - 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/models/feedback/feedback.model.ts b/models/feedback/feedback.model.ts index b2ec4b5..793f8da 100644 --- a/models/feedback/feedback.model.ts +++ b/models/feedback/feedback.model.ts @@ -1,4 +1,4 @@ -import { Model, model, Types } from 'mongoose'; +import { Model, model } from 'mongoose'; import { FeedbackSchema, feedbackSchema } from './feedback.schema'; export default model>('Feedback', feedbackSchema); diff --git a/models/votes/vote.schema.ts b/models/votes/vote.schema.ts index d8128b3..72b196d 100644 --- a/models/votes/vote.schema.ts +++ b/models/votes/vote.schema.ts @@ -1,7 +1,7 @@ import { Document, Schema, Types } from 'mongoose'; import { Vote } from 'which-types'; -export interface VoteSchema extends Document, Omit {}; +export interface VoteSchema extends Document, Omit {} export const voteSchema = new Schema({ authorId: { diff --git a/populateDb.ts b/populateDb.ts index 991c152..e25005d 100644 --- a/populateDb.ts +++ b/populateDb.ts @@ -1,7 +1,12 @@ import mongoose from 'mongoose'; import bluebird from 'bluebird'; import _ from 'lodash'; -import { User, Poll, Vote, Feedback } from 'which-types'; +import { + User, + Poll, + Vote, + Feedback +} from 'which-types'; import app from './app'; diff --git a/services/feedback/feedback.hooks.ts b/services/feedback/feedback.hooks.ts index 04f3af1..56e9000 100644 --- a/services/feedback/feedback.hooks.ts +++ b/services/feedback/feedback.hooks.ts @@ -1,4 +1,3 @@ -import { HookContext } from '@feathersjs/feathers'; import requireAuth from '../../hooks/requireAuth'; import signAuthority from '../../hooks/signAuthority'; -- cgit v1.2.3