Open bounty1342 opened 3 years ago
I think this is happening again after I upgraded to Flutter 3.13.4.
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.4.1
22F82 darwin-arm64, locale en-ID)
• Flutter version 3.13.4 on channel stable at
/Users/folder/dev/flutter
• Upstream repository
https://github.com/flutter/flutter.git
• Framework revision 367f9ea16b (5 days ago),
2023-09-12 23:27:53 -0500
• Engine revision 9064459a8b
• Dart version 3.1.2
• DevTools version 2.25.0
[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio
Code.app/Contents
• Flutter extension version 3.72.0
Somehow require_trailing_commas
is detected again now. Could this be related to the packages instead, such as flutter_lints
? Because my Flutter & Dart versions are still the same. Can't figure out what fixes the issue.
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.4.1 22F82
darwin-arm64, locale en-ID)
• Flutter version 3.13.4 on channel stable at
/Users/folder/dev/flutter
• Upstream repository
https://github.com/flutter/flutter.git
• Framework revision 367f9ea16b (2 weeks ago), 2023-09-12
23:27:53 -0500
• Engine revision 9064459a8b
• Dart version 3.1.2
• DevTools version 2.25.0
[✓] VS Code (version 1.82.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.72.0
The require_trailing_commas
lint does not appear to be included in flutter_lints
. If you mean that the lint appears to be enabled now when it was disabled before, the only way I can think of that that could happen is if it's been added, directly or indirectly, to the analysis options file being used to analyze the code where it's being reported.
Dart SDK Version Dart SDK version: 2.14.0 (stable) (Mon Sep 6 13:47:59 2021 +0200) on "macos_x64"
Reproduction
Result
Expected Offers to infer the comma. Display the fix on Fix, Fix.all on Vs code.