-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
version: "2" | ||
# Actions to perform before analysis begins | ||
# prepare: | ||
# fetch: Remote files to fetch (files are placed relative to the repo's root directory) | ||
# url: url to fetch | ||
# path: destination relative to repo's root directory | ||
|
||
# Configuration of maintainability checks | ||
# checks: | ||
# <name> | ||
# enabled: true|false | ||
# config: check configuration | ||
# checks: | ||
# argument-count: | ||
# enabled: true | ||
# config: | ||
# threshold: 4 | ||
# complex-logic: | ||
# enabled: true | ||
# config: | ||
# threshold: 4 | ||
# file-lines: | ||
# enabled: true | ||
# config: | ||
# threshold: 250 | ||
# method-complexity: | ||
# enabled: true | ||
# config: | ||
# threshold: 5 | ||
# method-count: | ||
# enabled: true | ||
# config: | ||
# threshold: 20 | ||
# method-lines: | ||
# enabled: true | ||
# config: | ||
# threshold: 25 | ||
# nested-control-flow: | ||
# enabled: true | ||
# config: | ||
# threshold: 4 | ||
# return-statements: | ||
# enabled: true | ||
# config: | ||
# threshold: 4 | ||
# similar-code: | ||
# enabled: true | ||
# # config: | ||
# # threshold: #language-specific defaults. overrides affect all languages. | ||
# identical-code: | ||
# enabled: true | ||
# # config: | ||
# # threshold: #language-specific defaults. overrides affect all languages. | ||
|
||
# Enable optional engines to run in addition to your analysis | ||
# plugins: | ||
# <name> | ||
# enabled: true|false | ||
# channel: alternate channel to use (stable is default) | ||
# config: plugin configuration | ||
plugins: | ||
eslint: | ||
enabled: true | ||
channel: "eslint-7" | ||
config: | ||
config: workspace/.eslintrc.json | ||
|
||
|
||
# Exclude files and/or directories from analysis | ||
exclude_patterns: | ||
# Root | ||
- "backend/" # TODO temporary exclusion | ||
- "charts/" | ||
- "infra/" | ||
- "docker-compose.yml" | ||
- "realm-export-local.yml" | ||
# General | ||
- "**/.vscode/" | ||
- "**/dist/" | ||
- "**/node_modules/" | ||
- "**/spec/" | ||
- "**/test/" | ||
- "**/tests/" | ||
- "**/*.d.ts" | ||
# Workspace | ||
- "/workspace/.angular" | ||
- "/workspace/tools/" | ||
# Backend |