-
Notifications
You must be signed in to change notification settings - Fork 48
/
lgtm.yml
76 lines (69 loc) · 3.4 KB
/
lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
##########################################################################################
# Customize file classifications. #
# Results from files under any classifier will be excluded from LGTM #
# statistics. #
##########################################################################################
##########################################################################################
# Use the `path_classifiers` block to define changes to the default classification of #
# files. #
##########################################################################################
path_classifiers:
docs:
- "*.md"
test:
- "**/Test"
#########################################################################################
# Use the extraction block to define changes to the default code extraction process #
# for one or more languages. The settings for each language are defined in a child #
# block, with one or more steps. #
#########################################################################################
extraction:
# Define settings for C# analysis
##################################
csharp:
# The `index` step builds the code and extracts information during the build
# process.
index:
# Specify that all project or solution files should be used for extraction.
# Default: false.
all_solutions: false
# Specify a list of one or more project or solution files for extraction.
# Default: LGTM chooses the file closest to the root of the repository (this may
# fail if there are multiple candidates).
solution:
- src/RiaServices.sln
# By default, LGTM analyzes the code by building it. You can override this,
# and tell LGTM not to build the code. Beware that this can lead
# to less accurate results.
buildless: true
# Specify MSBuild settings.
msbuild:
# Specify the MSBuild configuration to use, for example, debug or release.
# Default: read from the solution file or files.
configuration: release
# Specify the platform to target, for example: x86, x64, or Any CPU.
# Default: read from the solution file or files.
platform: Any CPU
# Specify the MSBuild target. Default: rebuild.
target: rebuild
# Specify whether or not to perform a NuGet restore for extraction. Default: true.
nuget_restore: false
# Specify a version of Microsoft Visual Studio to use for MSBuild or any custom
# build commands (build_command). For example:
# 10 for Visual Studio 2010
# 12 for Visual Studio 2012
# 14 for Visual Studio 2015
# 15 for Visual Studio 2017
# Default: read from project files
vstools_version: 16
# Specify additional options for the extractor,
# for example --fast to perform a faster extraction that produces a smaller
# database.
#extractor: "--fast"
# Define settings for JavaScript analysis
##########################################
javascript:
index:
# Specify a list of files and folders to exclude from extraction.
exclude:
- /