Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
nibor48774yWhat @nitwhiz said, plus
TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/... for more information. -
@nibor meh semantics.. typescript-eslint does the same thing.
Of course I can configure it out, but it's ridiculous that this is the standard. No new project I work on is going to have that unless the other guy also cares about the same thing by sheer coincidence. -
Geoxion9034yThe Rust-Analyzer plugin for VSCode has the options for type hints. (On by default)
https://user-images.githubusercontent.com/...
I was of the same opinion as you, but for Rust, and then I discovered this. Maybe there's something like it for typescript?
Related Rants
const abc: string = 'Hi';
Can we take a moment to appreciate how retarded it is that TSlint throws a warning here that the string type is inferred and unnecessary.
I want to put the type there because it looks more readable. Code looks better if every variable has a type, irrespective of whether it's a constant. I know the fucking type is inferred you braggart linter bitch. What the fuck does it expect? A fucking award because it inferred that a string constant is of the fucking type string? How the ever loving fuck does that warrant a squiggly ass yellow warning line, reminiscent of that smartass 10 year old in class who has to yell out every answer when the teacher never asked a question.
rant
typescript
tslint