$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
AI 駆動開発勉強会 フロントエンド支部 #1 w/あずもば
1ftseabass
PRO
0
340
Snowflakeでデータ基盤を もう一度作り直すなら / rebuilding-data-platform-with-snowflake
pei0804
4
1.4k
日本Rubyの会の構造と実行とあと何か / hokurikurk01
takahashim
4
1k
ログ管理の新たな可能性?CloudWatchの新機能をご紹介
ikumi_ono
1
660
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
120
世界最速級 memcached 互換サーバー作った
yasukata
0
340
業務のトイルをバスターせよ 〜AI時代の生存戦略〜
staka121
PRO
2
100
AWSセキュリティアップデートとAWSを育てる話
cmusudakeisuke
0
240
新 Security HubがついにGA!仕組みや料金を深堀り #AWSreInvent #regrowth / AWS Security Hub Advanced GA
masahirokawahara
1
1.8k
eBPFとwaruiBPF
sat
PRO
4
2.6k
技術以外の世界に『越境』しエンジニアとして進化を遂げる 〜Kotlinへの愛とDevHRとしての挑戦を添えて〜
subroh0508
1
430
regrowth_tokyo_2025_securityagent
hiashisan
0
230
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
KATA
mclloyd
PRO
32
15k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Rails Girls Zürich Keynote
gr2m
95
14k
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