eslint require semis!

This commit is contained in:
jacoobes
2022-02-13 22:37:38 -06:00
parent eed8da4dd3
commit d5ad51d0e9
2 changed files with 4 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
"parserOptions": { "ecmaVersion": "esnext", "sourceType": "" },
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals" : true }]
"quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals" : true }],
"semi" : ["error", "always"]
}
}

View File

@@ -16,7 +16,7 @@ import type {
Message
} from 'discord.js';
import { Ok, Result, None, Some, Option } from 'ts-results';
import { Ok, Result, None, Some } from 'ts-results';
import { isBot, hasPrefix, fmt } from './utilities/messageHelpers';
/**
@@ -154,6 +154,7 @@ export class Handler {
}
case 'public': {
// Creating global commands
// TODO : warn user they will be creating a public command
await this.client.application!.commands
.create({
name: cmdName,