cunarist / rinf

Rust for native business logic, Flutter for flexible and beautiful GUI
MIT License
1.98k stars 70 forks source link

flutter analyze command catches lint rule violation for sample app #304

Closed romanseo1 closed 7 months ago

romanseo1 commented 7 months ago

Report

Generated code lib\messages\generated.dart violates default lint rule. This lint rule should not be ignored from my app within a CI/CD pipeline

Steps to Reproduce

  1. execute flutter analyze from sample app
flutter analyze
Analyzing flutter_analyze...                                            

   info - Use 'const' with the constructor to improve performance - lib\messages\generated.dart:15:24 - prefer_const_constructors

1 issue found. (ran in 1.2s)

System Information

rustc --version
rustc 1.76.0 (07dca489a 2024-02-04)

dart --version
Dart SDK version: 3.3.0 (stable) (Tue Feb 13 10:25:19 2024 +0000) on "windows_x64"

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.1, on Microsoft Windows [Version 10.0.19045.2728], locale ko-KR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Professional 2019 16.11.23)
[!] Android Studio (not installed)
[√] VS Code (version 1.85.1)
[√] Connected device (3 available)
[√] Network resources

! Doctor found issues in 2 categories.