Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lint all the things!
Search
Gabor Nagy Farkas
April 26, 2018
Technology
0
210
Lint all the things!
My presentation about SwiftLint at NSBudapest April.
Gabor Nagy Farkas
April 26, 2018
Tweet
Share
More Decks by Gabor Nagy Farkas
See All by Gabor Nagy Farkas
Intro - 2018 January
nfgabor
0
330
AppCode at Skyscanner
nfgabor
0
360
Demystifying IBDesignable
nfgabor
0
17
Other Decks in Technology
See All in Technology
Privacy Sandbox on Android / DroidKaigi 2024
7pairs
1
280
なにもしてないのにNew Relicのデータ転送量が増えていたときに確認したこと
tk3fftk
2
230
JTCや セキュリティチェックリストが夢の跡
nikinusu
1
800
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
400
Difyを活用した「内省支援」エージェント開発の所感
gmoriki
0
120
横断組織として考える共通DBの課題解決 〜 桃園の誓いアーキテクチャ 〜 / Addressing Shared Database Challenges as Cross-Team: “Peach Garden Oath” Architecture
4geru
0
270
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
360
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
46k
株式会社EventHub・エンジニア採用資料
eventhub
0
3k
Developer Experienceを向上させる基盤づくりの取り組み事例集
coconala_engineer
0
160
PdMはどのように全てのスピードを上げられるか ~ 非連続進化のための具体的な取り組み ~
sansantech
PRO
4
1.4k
DevRelの始め方
moongift
PRO
2
400
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
36
2.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
48k
BBQ
matthewcrist
83
9.2k
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
VelocityConf: Rendering Performance Case Studies
addyosmani
322
23k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
GraphQLとの向き合い方2022年版
quramy
43
13k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Transcript
Lint all the things! Gábor Nagy Farkas @nfgabor
[email protected]
Agenda ▪ What is a linter? ▪ Why should you
care? ▪ SwiftLint ▪ Demo ▪ Takeaway
What is a linter?
Why should you care?
None
None
Benefits of linting your code ▪ Improves readability ▪ Consistency
▪ Acts as a pre-code review (catches obvious mistakes)
SwiftLint
SwiftLint ▪ Funded and created by Realm Inc ▪ Open
Source ▪ Rules ▪ Stylistic e.g. syntactic sugar, empty parenthesis vs Void etc. ▪ Code Quality e.g. cyclomatic complexity, weak delegate, method/line/ file length etc. ▪ Opt-in ▪ Autocorrect ▪ Configuration
Demo
Takeaway
Resources ▪ SwiftLint GitHub page ▪ JP Simard: “Watch Your
Language!” video
Thank you! Gábor Nagy Farkas @nfgabor
[email protected]
None