Skip to content

Commit

Permalink
Disable some CodeQL rules
Browse files Browse the repository at this point in the history
  • Loading branch information
TrianguloY committed Mar 16, 2024
1 parent 76165e6 commit e87f9a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# exclude rules that I don't agree with
query-filters:
- exclude:
# allow markdown lines to be as long as they need
id: markdownlint_MD013
- exclude:
# I like to 'group' logic inside classes, which means that sometimes fields are below other methods (fields1/methods1/fields2/methods2)
id: PMD_category_java_codestyle_FieldDeclarationsShouldBeAtStartOfClass
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
config-file: ./.github/codeql-config.yml


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
Expand Down

0 comments on commit e87f9a9

Please sign in to comment.