Repository navigation
Linting rules discussion space #206
Replies: 1 comment 6 replies
No NullExample plugin: eslint-plugin-no-null To kick things off, I just want to start by saying that on a conceptual level, I think it is correct to make distinctions between Though just their own personal code standard, I actually came over this in Typescripts own internal code standards: Typescript supportI think typescript's current treatment of Truthy falsy testing
if (value === null) {
// Do something
}
else if (value === undefined) {
// Do some other thing
}which can become tedious and hard to understand for someone seeing the code for the first time. Communicating intentWhen we create api's for other devs to use, it is hard to know what exatcly the developer means by the distinctions between these two. If dev A creates a method |



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Linting rules discussion space
Let's use this space as a forum to discuss linting rules we come across or that we have been fighting over in PR's (sorry Tormod 😂)
Try to keep things civilized as it is easy to get into heated debates around these subjects.
Protip:
Start a new thread with a h1 header to make it easier for people to navigate this space as it grows.
All reactions