Skip to content

Commit 9cdeb3b

Browse files
ci: change lint options (#12)
* ci: skip dirty check * style(eslint): Fixed eslint style format Co-authored-by: ankhgerel <[email protected]>
1 parent 8ddde1e commit 9cdeb3b

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
uses: stefanzweifel/git-auto-commit-action@v4
4848
with:
4949
commit_options: '--no-verify'
50+
skip_dirty_check: false
51+
skip_fetch: false
5052
commit_message: 'style(eslint): Fixed eslint style format'
5153
build:
5254
name: Build and publish project

src/example.command.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,24 @@ import { SlashCommandBuilder } from '@discordjs/builders'
77
import { CommandInteraction, Message } from 'discord.js'
88
import BotClient from './structures/BotClient'
99

10-
1110
export default {
1211
name: '',
1312
description: '',
1413
aliases: [],
1514
isSlash: false,
1615

17-
async execute(client: BotClient, message: Message, args: string[]): Promise<any> {
18-
19-
},
16+
async execute(
17+
client: BotClient,
18+
message: Message,
19+
args: string[]
20+
): Promise<any> {},
2021
slash: {
2122
name: '',
22-
data: new SlashCommandBuilder()
23-
.setName('')
24-
.setDescription('')
25-
.toJSON(),
26-
async execute(client: BotClient, interaction: CommandInteraction): Promise<any> {
27-
28-
}
23+
data: new SlashCommandBuilder().setName('').setDescription('').toJSON(),
24+
async execute(
25+
client: BotClient,
26+
interaction: CommandInteraction
27+
): Promise<any> {}
2928
}
3029
}
3130

@@ -38,8 +37,11 @@ export default {
3837
description: '',
3938
aliases: [],
4039
isSlash: false,
41-
async execute(client: BotClient, message: Discord.Message, args: string[]): Promise<any> {
42-
},
40+
async execute(
41+
client: BotClient,
42+
message: Discord.Message,
43+
args: string[]
44+
): Promise<any> {}
4345
}
4446

4547
// Slash command
@@ -49,11 +51,9 @@ export default {
4951
name: '',
5052
description: '',
5153
isSlash: true,
52-
data: new SlashCommandBuilder()
53-
.setName('')
54-
.setDescription('')
55-
.toJSON(),
56-
async execute(client: BotClient, interaction: CommandInteraction): Promise<any> {
57-
58-
}
59-
}
54+
data: new SlashCommandBuilder().setName('').setDescription('').toJSON(),
55+
async execute(
56+
client: BotClient,
57+
interaction: CommandInteraction
58+
): Promise<any> {}
59+
}

src/structures/Command.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { SlashCommandBuilder } from '@discordjs/builders'
21
import {
32
InteractionData,
43
MessageCommandFuntion,

src/types/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { PrismaClientOptions } from '@prisma/client/runtime'
21
import {
32
ButtonInteraction,
43
ChatInputCommandInteraction,

0 commit comments

Comments
 (0)