Skip to content

Commit 34e2538

Browse files
Merge pull request #806 from nextcloud/linting
Add lint config
2 parents 03515b1 + af29a02 commit 34e2538

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

lint.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Nextcloud - Android common
4+
~
5+
~ SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
6+
~ SPDX-License-Identifier: MIT
7+
-->
8+
<lint>
9+
<issue id="ExtraTranslation">
10+
<ignore path="**/strings.xml"/>
11+
<ignore path="**/values-b+en+001/strings.xml"/>
12+
</issue>
13+
14+
<issue id="ImpliedQuantity">
15+
<ignore path="**/values-**/strings.xml" />
16+
</issue>
17+
18+
<issue id="MissingQuantity">
19+
<ignore path="**/values-**/strings.xml" />
20+
</issue>
21+
22+
<issue id="MissingTranslation">
23+
<ignore path="**/strings.xml"/>
24+
</issue>
25+
26+
<issue id="UnusedAttribute">
27+
<ignore regexp="importantForAutofill"/>
28+
<ignore regexp="autofillHints"/>
29+
</issue>
30+
31+
<issue id="UnusedQuantity">
32+
<ignore path="**/values-**/strings.xml" />
33+
</issue>
34+
35+
<issue id="TypographyEllipsis">
36+
<ignore path="**/values-**/strings.xml" />
37+
</issue>
38+
39+
<issue id="Typos">
40+
<ignore path="**/values-**/strings.xml" />
41+
<ignore path="**/values/setup.xml" />
42+
</issue>
43+
</lint>

0 commit comments

Comments
 (0)