From 07d39899d32ed4c7ae822e98f4a8b28c72c48a99 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 4 Nov 2021 17:06:02 +0530 Subject: new lint: deprecated_is_null --- notes.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'notes.txt') diff --git a/notes.txt b/notes.txt index 0e70373..bba644c 100644 --- a/notes.txt +++ b/notes.txt @@ -47,6 +47,8 @@ Lint ideas `_: expr`) - redundant pattern `{...} @ inputs : expr`, replace with `inputs: expr` +- useless hasAttr: `if x ? a then x.a else default` can be + replaced with `x.a or default` Extensions ---------- -- cgit v1.2.3