From 6ac898bad4950cbced8b62aac89de2baf34dbecd Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Wed, 17 Aug 2022 13:13:43 +0200 Subject: [PATCH] add desugered to the typo database --- javascript/ql/src/Expressions/TypoDatabase.qll | 2 ++ ql/ql/src/codeql_ql/style/TypoDatabase.qll | 2 ++ 2 files changed, 4 insertions(+) diff --git a/javascript/ql/src/Expressions/TypoDatabase.qll b/javascript/ql/src/Expressions/TypoDatabase.qll index fadc1b8af75..a41f003a8c0 100644 --- a/javascript/ql/src/Expressions/TypoDatabase.qll +++ b/javascript/ql/src/Expressions/TypoDatabase.qll @@ -2543,6 +2543,8 @@ predicate typos(string wrong, string right) { or wrong = "destory" and right = "destroy" or + wrong = "desugered" and right = "desugared" + or wrong = "detailled" and right = "detailed" or wrong = "detatched" and right = "detached" diff --git a/ql/ql/src/codeql_ql/style/TypoDatabase.qll b/ql/ql/src/codeql_ql/style/TypoDatabase.qll index fadc1b8af75..a41f003a8c0 100644 --- a/ql/ql/src/codeql_ql/style/TypoDatabase.qll +++ b/ql/ql/src/codeql_ql/style/TypoDatabase.qll @@ -2543,6 +2543,8 @@ predicate typos(string wrong, string right) { or wrong = "destory" and right = "destroy" or + wrong = "desugered" and right = "desugared" + or wrong = "detailled" and right = "detailed" or wrong = "detatched" and right = "detached"