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
340
AppCode at Skyscanner
nfgabor
0
380
Demystifying IBDesignable
nfgabor
0
22
Other Decks in Technology
See All in Technology
いま注目のAIエージェントを作ってみよう
supermarimobros
0
360
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
500
Rustから学ぶ 非同期処理の仕組み
skanehira
1
150
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
470
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
210
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
480
Terraformで構築する セルフサービス型データプラットフォーム / terraform-self-service-data-platform
pei0804
1
200
roppongirb_20250911
igaiga
1
250
スクラムガイドに載っていないスクラムのはじめかた - チームでスクラムをはじめるときに知っておきたい勘所を集めてみました! - / How to start Scrum that is not written in the Scrum Guide 2nd
takaking22
2
210
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
1.1k
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
450
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Speed Design
sergeychernyshev
32
1.1k
Designing Experiences People Love
moore
142
24k
Agile that works and the tools we love
rasmusluckow
330
21k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
930
How to Think Like a Performance Engineer
csswizardry
26
1.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
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