diff --git a/.eslintrc.json b/.eslintrc.json index 01d8ff9..799df88 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,7 +14,6 @@ ], "plugins": ["@typescript-eslint"], "rules": { - "@typescript-eslint/camelcase": "off", - "@typescript-eslint/ban-types": "warn" + "@typescript-eslint/camelcase": "off" } } diff --git a/src/github-helper.ts b/src/github-helper.ts index 38e0519..a5d2d8d 100644 --- a/src/github-helper.ts +++ b/src/github-helper.ts @@ -5,12 +5,16 @@ import {Command, SlashCommandPayload} from './command-helper' type ReposCreateDispatchEventParamsClientPayload = { [key: string]: ReposCreateDispatchEventParamsClientPayloadKeyString } +// eslint-disable-next-line type ReposCreateDispatchEventParamsClientPayloadKeyString = {} export interface ClientPayload extends ReposCreateDispatchEventParamsClientPayload { + // eslint-disable-next-line github: any + // eslint-disable-next-line pull_request?: any + // eslint-disable-next-line slash_command?: SlashCommandPayload | any }