module.exports = { root: true, parser: '@typescript-eslint/parser', env: { node: true, }, extends: ['standard', 'plugin:@typescript-eslint/recommended'], plugins: ['no-floating-promise', '@typescript-eslint'], rules: { '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-empty-function': 'warn', '@typescript-eslint/ban-ts-comment': 'warn', 'no-empty': [ 'error', { allowEmptyCatch: false, }, ], 'no-floating-promise/no-floating-promise': 'error', 'no-return-await': 'off', 'no-unused-vars': [ 'error', { args: 'none', caughtErrors: 'none', ignoreRestSiblings: true, varsIgnorePattern: '^_', }, ], semi: [2, 'always'], 'comma-dangle': ['error', 'always-multiline'], }, };