Skip to content

Commit 2595ef0

Browse files
authored
Merge pull request #713 from microsoft/joypal/lintBaseline
add lint baseline file
2 parents 02e1843 + d2a7f50 commit 2595ef0

File tree

4 files changed

+1409
-0
lines changed

4 files changed

+1409
-0
lines changed

FluentUI/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ android {
3030
mavenCentral()
3131
}
3232
}
33+
lint {
34+
baseline = file("lint-baseline.xml")
35+
}
3336
}
3437

3538
dependencies {

FluentUI/lint-baseline.xml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2">
3+
4+
<issue
5+
id="ObsoleteLintCustomCheck"
6+
message="Lint found an issue registry (`androidx.compose.runtime.lint.RuntimeIssueRegistry`) which requires a newer API level. That means that the custom lint checks are intended for a newer lint version; please upgrade.">
7+
<location
8+
file="C:/Users/joypal/.gradle/caches/transforms-3/5a95d437489af7b64c794ecfcc0144a2/transformed/jetified-runtime-release/jars/lint.jar"/>
9+
</issue>
10+
11+
<issue
12+
id="GradleDependency"
13+
message="A newer version of org.jetbrains.kotlin:kotlin-stdlib-jdk7 than 1.8.21 is available: 1.9.20"
14+
errorLine1=" api project(&apos;:fluentui_tablayout&apos;)"
15+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
16+
<location
17+
file="build.gradle"
18+
line="53"
19+
column="20"/>
20+
</issue>
21+
22+
<issue
23+
id="GradleDependency"
24+
message="A newer version of androidx.appcompat:appcompat than 1.6.1 is available: 1.7.0"
25+
errorLine1=" api project(&apos;:fluentui_topappbars&apos;)"
26+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
27+
<location
28+
file="build.gradle"
29+
line="54"
30+
column="20"/>
31+
</issue>
32+
33+
<issue
34+
id="GradleDependency"
35+
message="A newer version of com.google.android.material:material than 1.9.0 is available: 1.12.0"
36+
errorLine1=" api project(&apos;:fluentui_transients&apos;)"
37+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
38+
<location
39+
file="build.gradle"
40+
line="55"
41+
column="20"/>
42+
</issue>
43+
44+
<issue
45+
id="GradleDependency"
46+
message="A newer version of junit:junit than 4.12 is available: 4.13.2"
47+
errorLine1=" implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;"
48+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
49+
<location
50+
file="build.gradle"
51+
line="56"
52+
column="24"/>
53+
</issue>
54+
55+
<issue
56+
id="GradleDependency"
57+
message="A newer version of androidx.test.ext:junit than 1.1.5 is available: 1.2.1"
58+
errorLine1=" implementation &quot;androidx.appcompat:appcompat:$appCompatVersion&quot;"
59+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
60+
<location
61+
file="build.gradle"
62+
line="57"
63+
column="31"/>
64+
</issue>
65+
66+
<issue
67+
id="GradleDependency"
68+
message="A newer version of androidx.test.espresso:espresso-core than 3.5.1 is available: 3.6.1"
69+
errorLine1=" implementation &quot;com.google.android.material:material:$materialVersion&quot;"
70+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
71+
<location
72+
file="build.gradle"
73+
line="58"
74+
column="31"/>
75+
</issue>
76+
77+
<issue
78+
id="UnusedResources"
79+
message="The resource `R.style.Theme_FluentUI_Container` appears to be unused"
80+
errorLine1=" &lt;style name=&quot;Theme.FluentUI.Container&quot; parent=&quot;Base.Theme.FluentUI&quot;>"
81+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
82+
<location
83+
file="src/main/res/values/themes.xml"
84+
line="12"
85+
column="12"/>
86+
</issue>
87+
88+
<issue
89+
id="UnusedResources"
90+
message="The resource `R.style.Theme_FluentUI` appears to be unused"
91+
errorLine1=" &lt;style name=&quot;Theme.FluentUI&quot; parent=&quot;Theme.FluentUI.Container&quot;/>"
92+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
93+
<location
94+
file="src/main/res/values/themes.xml"
95+
line="242"
96+
column="12"/>
97+
</issue>
98+
99+
</issues>

fluentui_core/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ android {
4646
}
4747
productFlavors {
4848
}
49+
lint {
50+
baseline = file("lint-baseline.xml")
51+
}
52+
lintOptions {
53+
abortOnError false
54+
}
4955
}
5056

5157
gradle.taskGraph.whenReady { taskGraph ->

0 commit comments

Comments
 (0)