Skip to content

Commit

Permalink
bot: fix lint issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Oct 24, 2024
1 parent 4505abc commit 2c4ef7e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion bot/__tests__/unit/database/services/channel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
insertChannels,
} from '../../../fixtures/channel.fixture'
import { channelService } from '../../../../src/database/services'
import config from '../../../../src/config'
setupTestDB()

describe('channel service', () => {
Expand Down
1 change: 0 additions & 1 deletion bot/__tests__/unit/database/services/guildMember.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
guildMember3,
} from '../../../fixtures/guildMember.fixture'
import { guildMemberService } from '../../../../src/database/services'
import config from '../../../../src/config'
setupTestDB()

describe('guildMember service', () => {
Expand Down
1 change: 0 additions & 1 deletion bot/__tests__/unit/database/services/role.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
insertRoles,
} from '../../../fixtures/role.fixture'
import { roleService } from '../../../../src/database/services'
import config from '../../../../src/config'
setupTestDB()

describe('role service', () => {
Expand Down
2 changes: 1 addition & 1 deletion bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test:ci": "jest --ci --detectOpenHandles",
"lint": "eslint **/*.ts",
"lint-fix": "eslint --fix **/*.ts",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format": "prettier --write \"src/**/*.ts\" \"types/*.ts\" \"__tests__/**/*.ts\"",
"dev-migrate:create": "migrate create --template-file ./src/migrations/utils/template.ts --migrations-dir=\"./src/migrations/db\" --compiler=\"ts:./src/migrations/utils/ts-compiler.js\"",
"dev-migrate:up": "migrate --migrations-dir=\"./src/migrations/db\" up --compiler=\"ts:./src/migrations/utils/ts-compiler.js\"",
"dev-migrate:down": "migrate --migrations-dir=\"./src/migrations/db\" --compiler=\"ts:./src/migrations/utils/ts-compiler.js\" down",
Expand Down

0 comments on commit 2c4ef7e

Please sign in to comment.