module.exports = { rules: { /** * 不允许有空函数 * @reason 有时需要将一个空函数设置为某个项的默认值 */ '@typescript-eslint/no-empty-function': 'off' } };