ESLint doesn’t natively support TypeScript. You may want to contact the
typescript-eslint team to discuss this.

On Wed, Feb 10, 2021 at 6:37 AM Shiran Pasternak <[email protected]>
wrote:

> 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
> <https://groups.google.com/d/msgid/eslint/95ed43a4-8afd-4d67-843a-19d6c064eedan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 

______________________________
Nicholas C. Zakas (@slicknet <https://twitter.com/slicknet>)
Owner, Human Who Codes LLC
humanwhocodes.com

-- 
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/CAOkd9hmHcdgJqVNAryT-6ibz%2BWDMYnAZOkgfMm77KiEO29CjNg%40mail.gmail.com.

Reply via email to