Custom Linter Rule for Dart Analyzer - Flutter Global Summit'23 talk by Oleksandr Leushchenko
by Oleksandr Leuschenko youtube.com
32 min 1.4k views
This video is from the closed senior track from the Flutter Global Summit'23 conference. “This variable can be final”, “Add const here”, “Implicit dynamic” and many other rules help us be effective developers. And even may prevent critical mistakes in early development stages. These common rules were provided by the Dart team, they are the foundation of product quality. Flutter developers may go even further and add custom rules that will be specific to the team or project. During this talk, I will walk you through the process of creating a custom linter rule in easy and hard ways. --- Russia started an unfair and cruel war against my country. If you found this video interesting or useful, please, donate to Ukraine’s Armed Forces. I can recommend my friends volunteers — the “Yellow Tape”, you can be 100% sure that the money will support our victory. Thanks in advance to everyone who participated. Glory to Ukraine! 🇺🇦 Ukraine's Armed Forces - https://bank.gov.ua/en/news/all/natsionalniy-bank-vidkriv-spetsrahunok-dlya-zboru-koshtiv-na-potrebi-armiyi Yellow Tape - https://www.yellow-tape.com.ua/home-eng --- 00:00 Oleks is thinking about good old times 02:28 How to control Analyzer 03:58 Custom "Amend Model Suffix" linter rule the hard way 17:14 Custom "Amend Model Suffix" linter rule the easy way 23:11 Implementing auto-fix for custom linter rule 26:35 Custom rule for pubspec.yaml file 31:14 Conclusion
Made by
Available for hire
Hi, my name is Oleksandr! I am a cross-platform mobile developer, who started developing in times when iPhone had a non-retina display, Android was ugly, and Wi...
View Oleksandr on Flutter ProApps by Oleksandr Leuschenko
More like this
Article 7 min readSetting up Lint Rules in Dart-Flutter
by
Maureen Josephine
, on Flutter Pro
Maureen Josephine
@J_Akello 🇰🇪 Kenya
Available for hire
A mobile developer enthusiast, interested in learning new technologies geared towards making work easier.
View Maureen on Flutter ProDay by day we learn new stuff. Day by day we aspire to improve our Code content and implementing them is usually a dream come true…
Read on medium.com- Article 19 min read
Dart 2.3.0
The Dart SDK, including the VM, dart2js, core libraries, and more.
Read on github.com
Video 11 minLes nouvelles règles Lint de Dart 2.18 🧑💻 Tuto Dart / Flutter
by Dev Café / Flutter France
Watch on YouTube
Article 4 min readWatch your code!
How to enable Dart linting to become a Flutter code ninja
Read on medium.com