Skip to content

Commit

Permalink
chore(deps-dev): bump eslint-plugin-simple-import-sort from 5.0.3 to …
Browse files Browse the repository at this point in the history
…6.0.0 (#646)

* chore(deps-dev): bump eslint-plugin-simple-import-sort

Bumps [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) from 5.0.3 to 6.0.0.
- [Release notes](https://github.com/lydell/eslint-plugin-simple-import-sort/releases)
- [Changelog](https://github.com/lydell/eslint-plugin-simple-import-sort/blob/main/CHANGELOG.md)
- [Commits](lydell/eslint-plugin-simple-import-sort@v5.0.3...v6.0.0)

Signed-off-by: dependabot[bot] <[email protected]>

* fix: fix .eslintrc

* chore: run lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antariksh <[email protected]>
  • Loading branch information
dependabot[bot] and mantariksh authored Nov 16, 2020
1 parent 9f5d189 commit bb0672d
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"extends": ["plugin:@typescript-eslint/recommended"],
"rules": {
// Rules for auto sort of imports
"simple-import-sort/sort": [
"simple-import-sort/imports": [
"error",
{
"groups": [
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-simple-import-sort": "^5.0.3",
"eslint-plugin-simple-import-sort": "^6.0.0",
"google-fonts-plugin": "4.1.0",
"html-loader": "~0.5.5",
"htmlhint": "^0.14.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { flatten, times } from 'lodash'
import mongoose from 'mongoose'

import getFormModel from 'src/app/models/form.server.model'
import getFormFeedbackModel from 'src/app/models/form_feedback.server.model'
import getFormStatisticsTotalModel from 'src/app/models/form_statistics_total.server.model'
import getFormModel from 'src/app/models/form.server.model'
import getSubmissionModel from 'src/app/models/submission.server.model'
import {
IAgencySchema,
Expand Down
2 changes: 1 addition & 1 deletion src/app/modules/examples/examples.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { errAsync, okAsync, ResultAsync } from 'neverthrow'
import { Except, Merge } from 'type-fest'

import { createLoggerWithLabel } from '../../../config/logger'
import getFormStatisticsTotalModel from '../../models/form_statistics_total.server.model'
import getFormModel from '../../models/form.server.model'
import getFormStatisticsTotalModel from '../../models/form_statistics_total.server.model'
import getSubmissionModel from '../../models/submission.server.model'
import { DatabaseError } from '../core/core.errors'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import mockingoose from 'mockingoose'
import mongoose from 'mongoose'
import { PartialDeep } from 'type-fest'

import getFormFeedbackModel from 'src/app/models/form_feedback.server.model'
import getFormModel from 'src/app/models/form.server.model'
import getFormFeedbackModel from 'src/app/models/form_feedback.server.model'
import { DatabaseError } from 'src/app/modules/core/core.errors'
import { IFormSchema } from 'src/types'

Expand Down
2 changes: 1 addition & 1 deletion src/app/modules/form/public-form/public-form.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { errAsync, okAsync, ResultAsync } from 'neverthrow'

import { createLoggerWithLabel } from '../../../../config/logger'
import { IFormFeedbackSchema } from '../../../../types'
import getFormFeedbackModel from '../../../models/form_feedback.server.model'
import getFormModel from '../../../models/form.server.model'
import getFormFeedbackModel from '../../../models/form_feedback.server.model'
import { DatabaseError } from '../../core/core.errors'
import { FormNotFoundError } from '../form.errors'

Expand Down
2 changes: 1 addition & 1 deletion src/app/services/sms/__tests__/sms.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { FormOtpData, IFormSchema, IUserSchema, ResponseMode } from 'src/types'

import dbHandler from 'tests/unit/backend/helpers/jest-db'

import getSmsCountModel from '../sms_count.server.model'
import * as SmsService from '../sms.service'
import { LogType, SmsType, TwilioConfig } from '../sms.types'
import getSmsCountModel from '../sms_count.server.model'

const FormModel = getFormModel(mongoose)
const SmsCountModel = getSmsCountModel(mongoose)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import mongoose from 'mongoose'

import dbHandler from 'tests/unit/backend/helpers/jest-db'

import getSmsCountModel from '../sms_count.server.model'
import { IVerificationSmsCount, LogType, SmsType } from '../sms.types'
import getSmsCountModel from '../sms_count.server.model'

const SmsCount = getSmsCountModel(mongoose)

Expand Down
2 changes: 1 addition & 1 deletion src/app/services/sms/sms.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { VfnErrors } from '../../../shared/util/verification'
import { AdminContactOtpData, FormOtpData } from '../../../types'
import getFormModel from '../../models/form.server.model'

import getSmsCountModel from './sms_count.server.model'
import { SmsSendError } from './sms.errors'
import {
LogSmsParams,
Expand All @@ -20,6 +19,7 @@ import {
TwilioConfig,
TwilioCredentials,
} from './sms.types'
import getSmsCountModel from './sms_count.server.model'

const logger = createLoggerWithLabel(module)
const SmsCount = getSmsCountModel(mongoose)
Expand Down

0 comments on commit bb0672d

Please sign in to comment.