Skip to content

Commit c4baf08

Browse files
ci(lint): Add lint config
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 03515b1 commit c4baf08

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

lint.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Nextcloud - Android Client
4+
~
5+
~ SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
6+
~ SPDX-FileCopyrightText: 2022 Andy Scherzinger <[email protected]>
7+
~ SPDX-FileCopyrightText: 2022 Álvaro Brey <[email protected]>
8+
~ SPDX-FileCopyrightText: 2022 Tobias Kaminsky <[email protected]>
9+
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
10+
-->
11+
<lint>
12+
<issue id="UnusedAttribute">
13+
<ignore regexp="importantForAutofill"/>
14+
<ignore regexp="autofillHints"/>
15+
</issue>
16+
17+
<issue id="ImpliedQuantity">
18+
<ignore path="**/values-**/strings.xml" />
19+
</issue>
20+
21+
<issue id="MissingQuantity">
22+
<ignore path="**/values-**/strings.xml" />
23+
</issue>
24+
25+
<issue id="UnusedQuantity">
26+
<ignore path="**/values-**/strings.xml" />
27+
</issue>
28+
29+
<issue id="ExtraTranslation">
30+
<ignore path="**/strings.xml"/>
31+
<ignore path="**/values-b+en+001/strings.xml"/>
32+
</issue>
33+
34+
<issue id="TypographyEllipsis">
35+
<ignore path="**/values-**/strings.xml" />
36+
</issue>
37+
38+
<issue id="Typos">
39+
<ignore path="**/values-**/strings.xml" />
40+
<ignore path="**/values/setup.xml" />
41+
</issue>
42+
</lint>

0 commit comments

Comments
 (0)