gts icon indicating copy to clipboard operation
gts copied to clipboard

Should `eqeqeq` ignore nulls?

Open dormeiri opened this issue 2 years ago • 1 comments

The default value for eqeqeq is "always". I would expect it to ignore nulls as suggested in the style guide.

So this line:

https://github.com/google/gts/blob/78c51a14f3c0e3faf54f87030e6e1cefdf0630dc/.eslintrc.json#L14

Needs to be:

        "eqeqeq": ["error", "always", {"null": "ignore"}]

dormeiri avatar Oct 05 '22 11:10 dormeiri

@sofisl Hi, can I work on this?

Paiman-Rasoli avatar Aug 25 '23 17:08 Paiman-Rasoli