Skip to content

Commit

Permalink
docs: Add section about repository-level configurations when coding s…
Browse files Browse the repository at this point in the history
…tandards are applied ALA-1207 (#2198)
  • Loading branch information
machadoit authored Sep 12, 2024
1 parent 63704e8 commit 5317af0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/organizations/using-coding-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This page covers the following topics:
- [Editing a coding standard](#editing)
- [Deleting a coding standard](#deleting)
- [Using a coding standard alongside tool configuration files](#using-with-tool-configuration)
- [Using a coding standard alongside repository-level customizations](#using-with-repository-configuration)
- [Using multiple coding standards](#using-multiple)

## Creating a coding standard {: id="creating"}
Expand Down Expand Up @@ -157,6 +158,10 @@ To delete a coding standard:

When using a [tool configuration file](../repositories-configure/configuring-code-patterns.md#using-your-own-tool-configuration-files) alongside a coding standard, the configuration file controls the code patterns, while the coding standard controls whether the tool is enabled or disabled.

## Using a coding standard alongside repository-level customizations {: id="using-with-repository-configuration"}

Tools and patterns enabled by a coding standard are enforced and cannot be disabled at the repository level. You can add extra tools and patterns, if these are not already enabled by any applied coding standard.

## Using multiple coding standards {: id="using-multiple"}

When Codacy analyzes your code using multiple coding standards, it merges the tools and patterns from each standard. Enabled tools and patterns in any applied standard will be enforced.
Expand Down

0 comments on commit 5317af0

Please sign in to comment.