UNPKG

eslint-config-alloy

Version:
12 lines (11 loc) 282 B
module.exports = { rules: { /** * 优先使用接口而不是字面类型 * @category TypeScript * @reason 接口可以 implement extend 和 merge * @fixable */ '@typescript-eslint/prefer-interface': 'error' } };