eslint-plugin-etc
eslint-plugin-etc copied to clipboard
allowLocal should support export statements
The allowLocal option in no-const-enum and prefer-interface should support export statements. For example:
type Person = { name: string; };
export { Person };
Also, with prefer-interface, allowLocal should deem indirectly exported types to be non-local, as the whole point of the rule is to avoid inlining.