This repository was archived by the owner on Jan 19, 2019. It is now read-only.
no-useless-constructor
/ no-empty-function
with mixed JS & TS codebase
#418
Labels
(As discussed in #77 (comment))
What version of TypeScript are you using?
2.6.2
What version of
typescript-eslint-parser
are you using?9.0.0
What code were you trying to parse?
What did you expect to happen?
No errors/warnings about empty constructor.
What happened?
For now, I have turned off these two rules in my
.ts
projects; but for projects that mix*.ts
and*.js
code, it would be nice to be able to have these rules enabled to catch any useless constructors/empty functions in*.js
code without it also warning about valid*.ts
constructors.The text was updated successfully, but these errors were encountered: