$30 off During Our Annual Pro Sale. View Details »
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
220
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
350
AppCode at Skyscanner
nfgabor
0
390
Demystifying IBDesignable
nfgabor
0
24
Other Decks in Technology
See All in Technology
regrowth_tokyo_2025_securityagent
hiashisan
0
230
因果AIへの招待
sshimizu2006
0
960
モダンデータスタック (MDS) の話とデータ分析が起こすビジネス変革
sutotakeshi
0
470
Challenging Hardware Contests with Zephyr and Lessons Learned
iotengineer22
0
180
日本Rubyの会の構造と実行とあと何か / hokurikurk01
takahashim
4
1k
AI駆動開発における設計思想 認知負荷を下げるフロントエンドアーキテクチャ/ 20251211 Teppei Hanai
shift_evolve
PRO
2
350
ML PM Talk #1 - ML PMの分類に関する考察
lycorptech_jp
PRO
1
810
新 Security HubがついにGA!仕組みや料金を深堀り #AWSreInvent #regrowth / AWS Security Hub Advanced GA
masahirokawahara
1
1.8k
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
120
コミューンのデータ分析AIエージェント「Community Sage」の紹介
fufufukakaka
0
480
Gemini でコードレビュー知見を見える化
zozotech
PRO
1
250
年間40件以上の登壇を続けて見えた「本当の発信力」/ 20251213 Masaki Okuda
shift_evolve
PRO
1
120
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.2k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Side Projects
sachag
455
43k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Navigating Team Friction
lara
191
16k
A better future with KSS
kneath
240
18k
Become a Pro
speakerdeck
PRO
31
5.7k
Faster Mobile Websites
deanohume
310
31k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
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