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
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
1k
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
140
エンジニア向け技術スタック情報
kauche
1
250
米国国防総省のDevSecOpsライフサイクルをAWSのセキュリティサービスとOSSで実現
syoshie
2
1k
Fabric + Databricks 2025.6 の最新情報ピックアップ
ryomaru0825
1
130
データプラットフォーム技術におけるメダリオンアーキテクチャという考え方/DataPlatformWithMedallionArchitecture
smdmts
5
620
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
120
SalesforceArchitectGroupOsaka#20_CNX'25_Report
atomica7sei
0
140
本当に使える?AutoUpgrade の新機能を実践検証してみた
oracle4engineer
PRO
1
140
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
6
710
2年でここまで成長!AWSで育てたAI Slack botの軌跡
iwamot
PRO
4
670
Wasm元年
askua
0
140
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Adopting Sorbet at Scale
ufuk
77
9.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Speed Design
sergeychernyshev
32
1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
RailsConf 2023
tenderlove
30
1.1k
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