Appearance
1. Exclusions
Code Quality (Embold) uses the following default exclusions while scanning your repositories:
version: 1
sources:
# Files or directories to be excluded are listed under exclusions
exclusions:
- test
- generated
- mock
- thirdparty
- third-party
- 3rd-party
- 3rdparty
- external
- build
- node_modules
- assets
- gulp
- grunt
- library
- libs
- .gitYou can override or extend these exclusions in your own configuration file.
2. Modules
Below is an example YAML snippet that defines modules and their rule overrides:
modules:
- name: gamma_java
enabled: true
rules:
- key: EMB-JAVA-10
enabled: false
- name: pmd
enabled: trueDisable a module by setting enabled: false, or disable/enable specific rules inside a module using the rules list.
3. Languages
When you scan your repository, Code Quality automatically detects the languages present. If a languages: section is omitted, Code Quality attempts to identify all supported languages and runs scans for each.
Supported languages:
JAVA, CPP, C_SHARP, PYTHON, JAVASCRIPT, TYPESCRIPT, GO, OBJECTIVE_C, KOTLIN, PHP, SOLIDITY, SQL, SWIFT, RUBY, APEX, HTML, CSS
Specify only the languages you need to limit scanning scope and speed up analysis.
