Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lint all the things!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Gabor Nagy Farkas
April 26, 2018
Technology
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lint all the things!
My presentation about SwiftLint at NSBudapest April.
Gabor Nagy Farkas
April 26, 2018
More Decks by Gabor Nagy Farkas
See All by Gabor Nagy Farkas
Intro - 2018 January
nfgabor
0
360
AppCode at Skyscanner
nfgabor
0
400
Demystifying IBDesignable
nfgabor
0
37
Other Decks in Technology
See All in Technology
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
110
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
140
Getting Started with Google Antigravity
glaforge
0
300
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
190
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
Kiro Crewをはじめよう
kizawa2020
1
160
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
200
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
560
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Making the Leap to Tech Lead
cromwellryan
135
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Designing for humans not robots
tammielis
254
26k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Making Projects Easy
brettharned
120
6.8k
30 Presentation Tips
portentint
PRO
1
430
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