From 3682634928e64f14f3fa66b0ec9cda679f6b4ab2 Mon Sep 17 00:00:00 2001 From: Adam Hernandez Date: Fri, 10 Nov 2023 09:15:39 -0700 Subject: [PATCH] use default --- .github/codeql/codeql-config.yml | 8 ++++---- codeql-custom-queries/javascript/doubleEquals.ql | 13 ------------- 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 codeql-custom-queries/javascript/doubleEquals.ql diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 9e7f8d9..0e03c5c 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -11,11 +11,11 @@ ignore-paths: # https://codeql.github.com/docs/writing-codeql-queries/about-codeql-queries/ # https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#using-a-custom-configuration-file queries: -- name: Custom JavaScript CodeQL Queries - uses: ./codeql-custom-queries/javascript +# - name: Custom JavaScript CodeQL Queries +# uses: ./codeql-custom-queries/javascript -# - name: Use Built-In Queries -# uses: security-and-quality +- name: Use Built-In Queries + uses: default languages: - javascript diff --git a/codeql-custom-queries/javascript/doubleEquals.ql b/codeql-custom-queries/javascript/doubleEquals.ql deleted file mode 100644 index 5fc4f10..0000000 --- a/codeql-custom-queries/javascript/doubleEquals.ql +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @id js/double-equals - * @name Double Equals Usages - * @description Finds all usages of the double equals operator. - * @kind problem - * @problem.severity warning - */ - - import javascript - - from EqualityTest eq - where eq.getOperator() = "==" - select eq, "This is a usage of the double equals operator." \ No newline at end of file