Fix code quality issues

This commit is contained in:
ariskotsomitopoulos 2021-12-26 00:48:11 +02:00
parent 0e30f4e817
commit 0d9bc188d7
2 changed files with 2 additions and 2 deletions

2
tools/check/forbidden_strings_in_code.txt Normal file → Executable file
View File

@ -160,7 +160,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
enum class===114
enum class===117
### Do not import temporary legacy classes
import org.matrix.android.sdk.internal.legacy.riot===3

2
tools/check/forbidden_strings_in_layout.txt Normal file → Executable file
View File

@ -24,7 +24,7 @@
# Extension:xml
### Use style="@style/Widget.Vector.TextView.*" instead of textSize attribute
android:textSize===9
android:textSize===11
### Use `@id` and not `@+id` when referencing ids in layouts
layout_(.*)="@\+id