UNPKG

@groww-tech/eslint-plugin-internal

Version:

ESLint Plugin with customized rules as per requirement and preferences of devs in Groww.

19 lines (18 loc) 320 B
module.exports = { meta: { docs: { description: 'Prefer type alias over interface', } } , create(context) { return { TSInterfaceDeclaration: (node) => { context.report({ node: node.id, message: "Prefer type alias over interface" }) } } } }