Skip to content

Commit

Permalink
ci(lint): Update exceptions for translations
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
  • Loading branch information
AndyScherzinger committed Nov 14, 2024
1 parent 03355fb commit b56b17f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ android {

lint {
abortOnError true
disable 'GradleDependency','InvalidPackage'
disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'InvalidPeriodicWorkRequestInterval', 'StringFormatInvalid', 'MissingQuantity', 'InvalidPackage'
htmlOutput file("$project.buildDir/reports/lint/lint.html")
htmlReport true
warningsAsErrors true
Expand Down
30 changes: 30 additions & 0 deletions library/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,36 @@
~ SPDX-License-Identifier: MIT
-->
<lint>
<issue id="MissingQuantity">
<ignore path="**/values-ka-rGE/strings.xml"/>
<ignore path="**/values-ar/strings.xml" />
</issue>

<issue id="UnusedQuantity">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="StringFormatCount">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="ExtraTranslation">
<ignore path="**/strings.xml"/>
<ignore path="**/values-b+en+001/strings.xml"/>
</issue>

<issue id="UnusedResources">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="TypographyEllipsis">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="Typos">
<ignore path="**/values-**/strings.xml" />
</issue>

<issue id="TrustAllX509TrustManager">
<ignore path="**/bouncycastle/est/jcajce/*.class" />
<ignore path="**/bcpkix-jdk18on-1.**.jar" />
Expand Down

0 comments on commit b56b17f

Please sign in to comment.