mirror of
https://github.com/AdrianKuta/android-challange-adrian-kuta.git
synced 2025-07-01 15:47:59 +02:00
This commit applies code formatting changes across multiple files and updates lint baseline files. Key changes: - Added trailing commas to data classes in the `domain/types` module and related files. - Formatted `HomeScreenViewModel.kt`, `Result.kt`, `ObserveAirportsUseCase.kt`, `AirportService.kt`, `ObserveAirportsUseCaseModule.kt`, `AirportInfoDomainMapper.kt`, `AirportInfoModelMapper.kt`, `AirportsDatasourceModule.kt`, `AirportsDatasourceImpl.kt`, `FlightService.kt`, `Cache.kt`, and `CacheImpl.kt`. - Updated `README.md` and `LICENCE.md` with minor formatting adjustments. - Updated various `lint-baseline.xml` files due to changes in cached dependencies or formatting. - Added new `lint-baseline.xml` files for `model/datasource/airports`, `model/datasource/shared`, `domain/search`, and `model/data/api`. - Removed unused imports from `app/build.gradle.kts`. - Reformatted XML files: `ic_launcher_round.xml`, `ic_launcher.xml`, `strings.xml`, `ic_launcher_background.xml`. - Added project code style configuration files: `.idea/codeStyles/codeStyleConfig.xml` and `.idea/codeStyles/Project.xml`. - Reformatted `characters.json`. - Updated response data classes in `model/data/api/entities` with trailing commas and minor formatting.
206 lines
7.5 KiB
XML
206 lines
7.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 8.10.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.10.1)" variant="all" version="8.10.1">
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `endX` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:endX="85.84757""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="10"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `endY` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:endY="92.4963""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="11"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `startX` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:startX="42.9492""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="12"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `startY` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:startY="49.59793""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="13"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `offset` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:offset="0.0" />"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="17"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `offset` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:offset="1.0" />"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="20"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `fillType` is only used in API level 24 and higher (current min is 21)"
|
|
errorLine1=" android:fillType="nonZero""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="26"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Aligned16KB"
|
|
message="The native library `arm64-v8a/libmockkjvmtiagent.so` (from `io.mockk:mockk-agent-android:1.14.2`) is not 16 KB aligned">
|
|
<location
|
|
file="$GRADLE_USER_HOME/caches/8.11.1/transforms/78a476c196dc0b141a854b3fe010ce3f/transformed/mockk-agent-android-1.14.2/jni/arm64-v8a/libmockkjvmtiagent.so"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Aligned16KB"
|
|
message="The native library `arm64-v8a/libmockkjvmtiagent.so` (from `io.mockk:mockk-agent-android:1.14.2`) is not 16 KB aligned">
|
|
<location
|
|
file="$GRADLE_USER_HOME/caches/8.11.1/transforms/78a476c196dc0b141a854b3fe010ce3f/transformed/mockk-agent-android-1.14.2/jni/arm64-v8a/libmockkjvmtiagent.so"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.purple_200` appears to be unused"
|
|
errorLine1=" <color name="purple_200">#FFBB86FC</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="3"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.purple_500` appears to be unused"
|
|
errorLine1=" <color name="purple_500">#FF6200EE</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="4"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.purple_700` appears to be unused"
|
|
errorLine1=" <color name="purple_700">#FF3700B3</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="5"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.teal_200` appears to be unused"
|
|
errorLine1=" <color name="teal_200">#FF03DAC5</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="6"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.teal_700` appears to be unused"
|
|
errorLine1=" <color name="teal_700">#FF018786</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="7"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.black` appears to be unused"
|
|
errorLine1=" <color name="black">#FF000000</color>"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="8"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.white` appears to be unused"
|
|
errorLine1=" <color name="white">#FFFFFFFF</color>"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="9"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_launcher_foreground` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/drawable/ic_launcher_foreground.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MonochromeLauncherIcon"
|
|
message="The application adaptive icon is missing a monochrome tag"
|
|
errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/mipmap-anydpi-v26/ic_launcher.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MonochromeLauncherIcon"
|
|
message="The application adaptive roundIcon is missing a monochrome tag"
|
|
errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml"
|
|
line="2"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
</issues>
|