Skip to content

Commit

Permalink
add pmd7 and eslint9 to the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DMarinhoCodacy committed Feb 4, 2025
1 parent 2e37ed3 commit c0a6cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/check-security-tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def check_security_tools():
# Hack to ensure that Pylint is detected
if tool_short_name == "pylintpython3":
tool_name = "Pylint"
if tool_short_name == "ESLint9":
if tool_short_name == "eslint-9":
tool_name = "ESLint"
if tool_short_name == "PMD7":
if tool_short_name == "pmd-7":
tool_name = "PMD"
tool_languages = tool["languages"]
cursor = True
Expand Down
4 changes: 2 additions & 2 deletions tools/check-supported-tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def check_supported_tools():
# Hack to ensure that Pylint is detected
if tool_short_name == "pylintpython3":
tool_name = "Pylint"
if tool_short_name == "ESLint9":
if tool_short_name == "eslint-9":
tool_name = "ESLint"
if tool_short_name == "PMD7":
if tool_short_name == "pmd-7":
tool_name = "PMD"
tool_languages = tool["languages"]
if tool_name.lower() in documentation or tool_short_name.lower() in documentation:
Expand Down

0 comments on commit c0a6cf5

Please sign in to comment.