I'm a little surprised that the ban functionality from TSLint has not been ported fully to ESLint. ESLint does allow types to be banned, but I'd expect there to be the ability to ban function calls as well. One of my team's codebases, for example, has several debug methods that can be used in development but should never be checked in.
eslint-plugin-ban <https://www.npmjs.com/package/eslint-plugin-ban> is an excellent plugin that accomplishes this, but is there a reason why this isn't supported natively? Thanks, Shiran -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/eslint/95ed43a4-8afd-4d67-843a-19d6c064eedan%40googlegroups.com.
