-2

I am using Angular 10. We have lot of developers using : any date type when they shouldn't be. Is there a way to flag a warning in ESLint/TSLint, if a person utilizes this datatype ?

How can this be done in ESLint settings?

1 Answers1

1

TS Lint has the no-any rule that you can use.

"rules": { "no-any": true }
Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335