-
Notifications
You must be signed in to change notification settings - Fork 13
/
lgtm.yml
61 lines (56 loc) · 3.27 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
##########################################################################################
# Customize file classifications. #
# Results from files under any classifier will be excluded from LGTM #
# statistics. #
##########################################################################################
#########################################################################################
# Use the `queries` block to change the default display of query results. #
#########################################################################################
queries:
# Start by hiding the results of all queries.
- exclude: "*"
# Then include all queries tagged 'security' and 'correctness', and with a severity of
# 'error'.
- include:
tags:
- "security"
- "correctness"
severity: "error"
- exclude: cs/too-many-ref-parameters
#########################################################################################
# Define changes to the default code extraction process. #
# Each block configures the extraction of a single language, and modifies actions in a #
# named step. Every named step includes automatic default actions, #
# except for the 'prepare' step. The steps are performed in the following sequence: #
# prepare #
# after_prepare #
# configure (C/C++ only) #
# python_setup (Python only) #
# before_index #
# index #
##########################################################################################
#########################################################################################
# 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 .NET Core settings.
dotnet:
# Specify the version of .NET Core SDK to use.
# Default: The version installed on the build machine.
# version: 2.1
# 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