Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio Riverpod lint is not working #7888

Open
changja88 opened this issue Jan 10, 2025 · 0 comments
Open

Android Studio Riverpod lint is not working #7888

changja88 opened this issue Jan 10, 2025 · 0 comments

Comments

@changja88
Copy link

I'm coding in Android Studio, but it seems like riverpod_lint is not being applied.
When I run the command dart run custom_lint in the terminal, I can see Riverpod-related reports, but they don't show up in the editor window.
For example, in the code runApp(MyApp());, the editor should display a warning like "Projects using Riverpod must use ProviderScope," or a similar error.

Steps to Reproduce

  • just install riverpod lint
    custom_lint: ^0.7.0
    lints: ^5.1.1
    flutter_lints: ^5.0.0
    riverpod_lint: ^2.6.3

Version info

[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale ko-KR)
• Flutter version 3.27.1 on channel stable at /Users/hyun/Desktop/venv/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (4 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/hyun/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = /Users/hyun/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.16.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)

[✓] VS Code (version 1.96.2)
• VS Code at /Users/hyun/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.102.0

[✓] Connected device (4 available)
• SM A202K (mobile) • RF9N400WYEJ • android-arm64 • Android 11 (API 30)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265

[✓] Network resources
• All expected network resources are available.

• No issues found!

@changja88 changja88 changed the title Android Studio Riverpod lint is not workding Android Studio Riverpod lint is not working Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant