diff options
author | Akshay <[email protected]> | 2021-11-04 11:36:02 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-11-04 11:36:02 +0000 |
commit | 07d39899d32ed4c7ae822e98f4a8b28c72c48a99 (patch) | |
tree | 93968790365f238e8138669182cefab764ceae31 /notes.txt | |
parent | 5b87c6feb3e4a2fcc30ad94125be3dcd4e554754 (diff) |
new lint: deprecated_is_null
Diffstat (limited to 'notes.txt')
-rw-r--r-- | notes.txt | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,8 @@ Lint ideas | |||
47 | `_: expr`) | 47 | `_: expr`) |
48 | - redundant pattern `{...} @ inputs : expr`, replace with | 48 | - redundant pattern `{...} @ inputs : expr`, replace with |
49 | `inputs: expr` | 49 | `inputs: expr` |
50 | - useless hasAttr: `if x ? a then x.a else default` can be | ||
51 | replaced with `x.a or default` | ||
50 | 52 | ||
51 | Extensions | 53 | Extensions |
52 | ---------- | 54 | ---------- |