Join me on my Live Streaming adventures - https://twitch.tv/maxflutter

Code Linting allows you to enforce styling and error rules onto your code and make them visible right away in your IDE. In this video, we want to talk about improving your codebase using Flutter Linting. The most important file is the analysis_options.yaml in Dart, and we take a look at how it is structured.

Useful Links:
ResoCoder - https://www.youtube.com/channel/UCSIv
Lint package from Pascal Welsch - https://pub.dev/packages/lint
Linting Rules - https://dart-lang.github.io/linter/li

#linting #flutter #codemaintenance

Timeline
00:00 Introduction
00:57 What is Linting
03:32 Include Code Listing into your project
07:11 Overview of all possible Linting Rules
07:45 Discussion about Linting or not Listing
09:47 Lint Rule I: Missing Required Parameters
11:05 Lint Rule II: prefer_const
11:47 Lint Rule III: exhaustive_cases
12:27 Dart packages for Listing rules

** New Mentorship Program to boost your Flutter career **
https://gumroad.com/l/ydgtfV

BOOKS I RECOMMEND
https://geni.us/flutterbook
https://geni.us/clean-code

** YOUTUBE OPTIMIZATION PLUG-INS I USE **
TUBEBUDDY: https://www.tubebuddy.com/flutterexpl
VIDIQ: https://vidiq.com?afmc=7jl

ALL THE YOUTUBE EQUIPMENT I USE:
Our current YouTube gear
💻 MacBook Pro: https://geni.us/mac-book
📹 Lumix FZ1000: https://geni.us/fz-1000
🎙 Samson Mic: https://geni.us/samson-mic

🎉 ACCESSORIES:
Satechi USB-C Adapter: https://geni.us/P9R0
SD Card for 4k Videos: https://geni.us/PTAc

Disclaimer Flutter Explained (Max & Mahtab) are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to www.amazon.com.

** Social Medias **
Website: https://flutter-explained.dev

Say hi to Max
Twitter: https://twitter.com/flutter_exp
GitHub Max: https://github.com/md-weber
LinkedIn: https://www.linkedin.com/in/max-weber
Twitch: https://www.twitch.tv/maxflutter

Say hi to Mahtab
Twitter Mahtab: https://twitter.com/mahtab_dev
GitHub Mahtab: https://github.com/mt-tadayon

https://www.youtube.com/watch?v=TBgWVqafJW4

#flutter #dart #linting #analyzer

Flutter Code Linting - Improve your code and enforce Style and errors
3.95 GEEK