tweak optional chaining rule
This commit is contained in:
1 parent
58918f68fb
commit
0f6329997d
2 files changed
+2
-1
No files matched your search
@@ -43,7 +43,7 @@
|
||||
},
|
||||
{
|
||||
"code": "NO_OPTIONAL_CHAINING",
|
||||
"regex": "\\?\\.",
|
||||
"regex": "\\?[\\.|\\[|\\(|@]",
|
||||
"regexFlags": "ig",
|
||||
"message": "No optional chaning (var1?.property). Do a type check instead."
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user