Skip to content

Commit

Permalink
fix: unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe committed Aug 27, 2020
1 parent 4315f92 commit 33f1987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ rules:
yoda: off
standard/no-callback-literal: off
'@typescript-eslint/keyword-spacing': error
'@typescript-eslint/no-unused-vars': warn
'@typescript-eslint/space-before-function-paren':
- error
- anonymous: always
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-teach/src/database/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ extendDatabase<typeof MysqlDatabase>('koishi-plugin-mysql', ({ listFields }) =>

export default function apply(ctx: Context, config: Dialogue.Config) {
config.validateRegExp = {
onEscapeCharacterSet(start, end, kind, negate) {
onEscapeCharacterSet() {
throw new SyntaxError('unsupported escape character set')
},
onQuantifier(start, end, min, max, greedy) {
Expand Down

0 comments on commit 33f1987

Please sign in to comment.