From a986a278685c719cd682f44e0aebaee4b3fa5d99 Mon Sep 17 00:00:00 2001 From: "david.marinho@codacy.com" Date: Wed, 12 Mar 2025 15:11:33 +0000 Subject: [PATCH 1/3] fix some docs --- .../supported-languages-and-tools.md | 50 +++++++++++++++++++ .../codacy-configuration-file.md | 4 ++ 2 files changed, 54 insertions(+) diff --git a/docs/getting-started/supported-languages-and-tools.md b/docs/getting-started/supported-languages-and-tools.md index 4b7470dded..ad13e54d66 100644 --- a/docs/getting-started/supported-languages-and-tools.md +++ b/docs/getting-started/supported-languages-and-tools.md @@ -39,6 +39,7 @@ The table below lists all languages that Codacy supports and the corresponding t Language + File extensions Static analysis Suggested fixes Secret detection @@ -51,6 +52,7 @@ The table below lists all languages that Codacy supports and the corresponding t Apex + .cls, .trigger PMD, Semgrep 1 - @@ -62,6 +64,7 @@ The table below lists all languages that Codacy supports and the corresponding t AsyncAPI + - Spectral - - @@ -72,6 +75,7 @@ The table below lists all languages that Codacy supports and the corresponding t AWS CloudFormation + - Checkov - Checkov, @@ -84,6 +88,7 @@ The table below lists all languages that Codacy supports and the corresponding t Azure Resource Manager Templates + - Checkov - - @@ -94,6 +99,7 @@ The table below lists all languages that Codacy supports and the corresponding t C + .c, .h Clang-Tidy 3, Cppcheck, Flawfinder, @@ -108,6 +114,7 @@ The table below lists all languages that Codacy supports and the corresponding t C++ + .cpp, .hpp, .cc, .cxx, .ino Clang-Tidy 3, Cppcheck 4, Flawfinder, @@ -122,6 +129,7 @@ The table below lists all languages that Codacy supports and the corresponding t C# + .cs Semgrep 1, SonarC# Semgrep 🔧 @@ -134,6 +142,7 @@ The table below lists all languages that Codacy supports and the corresponding t CoffeeScript + .coffee CoffeeLint - - @@ -144,6 +153,7 @@ The table below lists all languages that Codacy supports and the corresponding t Crystal + .cr Ameba - - @@ -154,6 +164,7 @@ The table below lists all languages that Codacy supports and the corresponding t CSS + .css Stylelint - - @@ -164,6 +175,7 @@ The table below lists all languages that Codacy supports and the corresponding t Dart + .dart dartanalyzer 5 - Trivy @@ -174,6 +186,7 @@ The table below lists all languages that Codacy supports and the corresponding t Dockerfile + .dockerfile Hadolint, Semgrep 1 Semgrep 🔧 @@ -186,6 +199,7 @@ The table below lists all languages that Codacy supports and the corresponding t Elixir + .ex, .exs Credo, Semgrep 1 - @@ -197,6 +211,7 @@ The table below lists all languages that Codacy supports and the corresponding t GitHub Actions + - Semgrep 1 - Semgrep, @@ -208,6 +223,7 @@ The table below lists all languages that Codacy supports and the corresponding t Go + .go aligncheck 3, deadcode 3, Gosec 3, @@ -224,6 +240,7 @@ The table below lists all languages that Codacy supports and the corresponding t Groovy + .groovy CodeNarc - - @@ -236,6 +253,7 @@ The table below lists all languages that Codacy supports and the corresponding t Helm - - + - Semgrep 2, Trivy 2 @@ -246,6 +264,7 @@ The table below lists all languages that Codacy supports and the corresponding t Java + .java Checkstyle, PMD, Semgrep 1, @@ -261,6 +280,7 @@ The table below lists all languages that Codacy supports and the corresponding t JavaScript + .js, .jsx, .jsm, .vue, .mjs ESLint, PMD, Semgrep 1 @@ -274,6 +294,7 @@ The table below lists all languages that Codacy supports and the corresponding t JSON + .json Jackson Linter - Checkov, @@ -285,6 +306,7 @@ The table below lists all languages that Codacy supports and the corresponding t JSP + .jsp PMD - - @@ -295,6 +317,7 @@ The table below lists all languages that Codacy supports and the corresponding t Kotlin + .kt, .kts detekt, Semgrep 1, @@ -309,6 +332,7 @@ The table below lists all languages that Codacy supports and the corresponding t Kubernetes + - Checkov, Semgrep 2 Semgrep 🔧 @@ -322,6 +346,7 @@ The table below lists all languages that Codacy supports and the corresponding t Less + .less Stylelint - - @@ -332,6 +357,7 @@ The table below lists all languages that Codacy supports and the corresponding t Markdown + .md, .markdown, .mdown, .mkdn, .mkd, .mdwn, .mkdown, .ron remark-lint, markdownlint markdownlint 🔧 - @@ -342,6 +368,7 @@ The table below lists all languages that Codacy supports and the corresponding t Objective-C + .m Clang-Tidy 3 - - @@ -352,6 +379,7 @@ The table below lists all languages that Codacy supports and the corresponding t OpenAPI + - Spectral - - @@ -362,6 +390,7 @@ The table below lists all languages that Codacy supports and the corresponding t PHP + .php PHP_CodeSniffer, PHP Mess Detector, Semgrep 1 @@ -375,6 +404,7 @@ The table below lists all languages that Codacy supports and the corresponding t PL/SQL + .trg, .prc, .fnc, .pld, .pls, .plh, .plb, .pck, .pks, .pkh, .pkb, .typ, .tyb, .tps, .tpb PMD - - @@ -385,6 +415,7 @@ The table below lists all languages that Codacy supports and the corresponding t PostgreSQL + - SQLint - - @@ -395,6 +426,7 @@ The table below lists all languages that Codacy supports and the corresponding t PowerShell + .ps1, .psc1, .psd1, .psm1, .ps1xml, .pssc, .cdxml, .clixml PSScriptAnalyser - - @@ -405,6 +437,7 @@ The table below lists all languages that Codacy supports and the corresponding t Python + .py Bandit, Prospector, Pylint, @@ -422,6 +455,7 @@ The table below lists all languages that Codacy supports and the corresponding t Ruby + .rb, .gemspec, .podspec, .jbuilder, .rake, .opal Brakeman 7, RuboCop, Semgrep 1 @@ -435,6 +469,7 @@ The table below lists all languages that Codacy supports and the corresponding t Rust + .rs, .rlib Semgrep 1 - Semgrep, @@ -446,6 +481,7 @@ The table below lists all languages that Codacy supports and the corresponding t Sass + .scss Stylelint - - @@ -456,6 +492,7 @@ The table below lists all languages that Codacy supports and the corresponding t Scala + .scala Codacy Scalameta Pro, Scalastyle, Semgrep 1, @@ -471,6 +508,7 @@ The table below lists all languages that Codacy supports and the corresponding t Serverless Framework + - Checkov - - @@ -481,6 +519,7 @@ The table below lists all languages that Codacy supports and the corresponding t Shell + .sh, .bash ShellCheck, Semgrep 1 - @@ -492,6 +531,7 @@ The table below lists all languages that Codacy supports and the corresponding t Swift + .swift Semgrep 1, SwiftLint, @@ -507,6 +547,7 @@ The table below lists all languages that Codacy supports and the corresponding t Terraform + .tf Checkov, Semgrep 1 - @@ -520,6 +561,7 @@ The table below lists all languages that Codacy supports and the corresponding t Transact-SQL + .tsql TSQLLint - - @@ -530,6 +572,7 @@ The table below lists all languages that Codacy supports and the corresponding t TypeScript + .ts, .tsx ESLint, Semgrep 1 ESLint 🔧 @@ -542,6 +585,7 @@ The table below lists all languages that Codacy supports and the corresponding t Unity + - Unity Roslyn Analyzers 3 - - @@ -552,6 +596,7 @@ The table below lists all languages that Codacy supports and the corresponding t Velocity + .vm PMD - - @@ -562,6 +607,7 @@ The table below lists all languages that Codacy supports and the corresponding t Visual Basic + .vb SonarVB - - @@ -572,6 +618,7 @@ The table below lists all languages that Codacy supports and the corresponding t Visualforce + .component, .page PMD - - @@ -582,6 +629,7 @@ The table below lists all languages that Codacy supports and the corresponding t XML + .xml, .xsl, .wsdl, .pom PMD - Trivy @@ -592,6 +640,7 @@ The table below lists all languages that Codacy supports and the corresponding t XSL + .xsl PMD - - @@ -602,6 +651,7 @@ The table below lists all languages that Codacy supports and the corresponding t YAML + .yaml, .yml, .env, .env.production, .env.prod, .env.staging, .env.dev, .env.development - - Trivy diff --git a/docs/repositories-configure/codacy-configuration-file.md b/docs/repositories-configure/codacy-configuration-file.md index 80c768c29c..f96dcfc186 100644 --- a/docs/repositories-configure/codacy-configuration-file.md +++ b/docs/repositories-configure/codacy-configuration-file.md @@ -160,6 +160,7 @@ credo dartanalyzer detekt eslint-8 +eslint-9 flawfinder hadolint jacksonlinter @@ -167,12 +168,15 @@ markdownlint phpcs phpmd pmd +pmd-7 prospector psscriptanalyzer pylintpython3 remark-lint revive +roslyn rubocop +ruff scalastyle semgrep shellcheck From a7eea1e00d2fe22db6dd63aa74e9294abb3663be Mon Sep 17 00:00:00 2001 From: "david.marinho@codacy.com" Date: Wed, 12 Mar 2025 15:32:34 +0000 Subject: [PATCH 2/3] fix other docs --- .../managing-security-and-risk.md | 1 + .../configuring-code-patterns.md | 22 ++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/organizations/managing-security-and-risk.md b/docs/organizations/managing-security-and-risk.md index dbcd68eca4..d8c81b9105 100644 --- a/docs/organizations/managing-security-and-risk.md +++ b/docs/organizations/managing-security-and-risk.md @@ -463,6 +463,7 @@ Security and risk management supports checking the languages and infrastructure- Bandit, Prospector, Pylint, + Ruff, Semgrep 1, Trivy diff --git a/docs/repositories-configure/configuring-code-patterns.md b/docs/repositories-configure/configuring-code-patterns.md index 5953cda85c..72898b9b73 100644 --- a/docs/repositories-configure/configuring-code-patterns.md +++ b/docs/repositories-configure/configuring-code-patterns.md @@ -158,16 +158,16 @@ The table below lists the configuration file names that Codacy detects and suppo Supports configuration file in directories other than root and can search up to 5 directories into the repository. - ESLint + ESLint v8 JavaScript, TypeScript .eslintrc.js, .eslintrc.cjs, .eslintrc.yaml, .eslintrc.yml, .eslintrc.json - Plugins configurable on the Codacy UI
- Other supported plugins
- -

If you're using module-level ESLint configuration files, you must also include a ESLint configuration file on the root of your repository for Codacy to detect that you're using configuration files. For example, add the following minimal .eslintrc.json configuration file:

- -
{ "root": true }
- + + + + ESLint v9 + JavaScript, TypeScript + eslint.config.js, eslint.config.mjs, eslint.config.cjs + Hadolint @@ -229,6 +229,12 @@ The table below lists the configuration file names that Codacy detects and suppo .rubocop.yml, .rubocop-codacy.yml Supports alternative configuration file .rubocop-codacy.yml for Codacy analysis, allowing exclusion of private gems. This prevents analysis issues caused by private gem references, ensuring proper validation by Codacy. + + Ruff + Python + pyproject.toml, ruff.toml, .ruff.toml + + Scalastyle Scala From 0dc114737d765809559e116aed0e42e2259279e9 Mon Sep 17 00:00:00 2001 From: "david.marinho@codacy.com" Date: Wed, 12 Mar 2025 15:35:32 +0000 Subject: [PATCH 3/3] fix managing security and risk doc --- docs/organizations/managing-security-and-risk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/organizations/managing-security-and-risk.md b/docs/organizations/managing-security-and-risk.md index d8c81b9105..98cda99a4d 100644 --- a/docs/organizations/managing-security-and-risk.md +++ b/docs/organizations/managing-security-and-risk.md @@ -463,7 +463,7 @@ Security and risk management supports checking the languages and infrastructure- Bandit, Prospector, Pylint, - Ruff, + Ruff, Semgrep 1, Trivy