Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump eslint-plugin-simple-import-sort from 5.0.3 to 6.0.0 #646

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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