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
途中からSwiftLint
Search
kuroyam
January 27, 2017
Programming
1
600
途中からSwiftLint
shibuya.swift #7 LT
kuroyam
January 27, 2017
Tweet
Share
More Decks by kuroyam
See All by kuroyam
iOS13でもSwiftUIでLazyなGridを実装したい! / use SwiftUI on iOS13
kuroyam
1
1.1k
開発合宿で バーチャルオフィス を作ろうとしたお話 / Let's Babiniku !
kuroyam
0
1.9k
アプリ設計改善の旅路
kuroyam
1
930
Objective-Cで書かれたアプリをSwift化したときの話
kuroyam
4
410
Other Decks in Programming
See All in Programming
Jakarta EE meets AI
ivargrimstad
0
590
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
300
ヤプリ新卒SREの オンボーディング
masaki12
0
130
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
960
Click-free releases & the making of a CLI app
oheyadam
2
120
Quine, Polyglot, 良いコード
qnighy
4
650
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
Amazon Qを使ってIaCを触ろう!
maruto
0
410
cmp.Or に感動した
otakakot
3
200
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Code Reviewing Like a Champion
maltzj
520
39k
What's in a price? How to price your products and services
michaelherold
243
12k
Docker and Python
trallard
40
3.1k
Practical Orchestrator
shlominoach
186
10k
Documentation Writing (for coders)
carmenintech
65
4.4k
KATA
mclloyd
29
14k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Transcript
ࠇాॣ !LVSPZBN (.01FQBCP *OD TIJCVZBTXJGU ్த͔Β4XJGU-JOU
ࠓ wڈͷ͔ΒNJOOFͱ͍͏ΞϓϦͰ4XJGU-JOUΛ ͍࢝ΊͨͷͰɺͦͷͱ͖ͷ͋Ε͜ΕΛ͓͠͠·͢
4XJGU-JOUJT wIUUQTHJUIVCDPNSFBMN4XJGU-JOU wίʔυͷ࣭νΣοΫπʔϧ
͖͔͚ͬ
͋Δͷ෩ܠ wʮಈ࡞࣮Αͦ͞͏Ͱ͕͢ɺ͜͜ʹṖͷεϖʔε ͕͋Γ·͢ʂͱͬͨΒNFSHF͠·͢ʂʯ wʮ͋ͬɺલʹॻ͍ͨίʔυ4XJGUͳͷʹ͕͍ͭ ͯΔͳɾɾɾʯ
͍ͬͨͳ͍ wಈ࡞࣮ͳ͍ͷʹɺमਖ਼ˠ࠶֬ೝͷεςο ϓΛ౿·ͳ͍ͱNFSHF͞Εͳ͍ wਓؒؒҧ͏͠ݟಀ͢
NJOOFͷ4XJGUঢ়گ wڈͷ݄͘Β͍͔Β4XJGUԽΛ࢝Ίͨ wݱ࣌Ͱׂ͕4XJGU wνʔϜϝϯόʔಉ࢜Ͱڭ͑߹͍ͳ͕ΒਐΊ͍ͯͬͨ
ͩ͠େআͩʂ
$ brew install swiftlint
⚠
σϑΥϧτͷ4XJGU-JOU͖ͼ͍͠ wվߦͨ͠ͱ͖ʹۭߦʹࣗಈͰೖΔεϖʔεͰ XBSOJOH wBTUSZ༰ࣻͳ͘FSSPS
ͻͱͭͻͱͭ௵ͦ͏ w·ͣҰ୴ͯ͢ͷSVMFΛEJTBCMFʹͨ͠ wεϖʔεͷ༗ແɺίϩϯͷҐஔɺඌηϛίϩϯͷআͳͲɺ࣮ʹ Өڹͷͳ͍ͱ͜Ζ͔ΒSVMFΛҰͭͣͭ༗ޮʹͯ͠मਖ਼ͨ͠ wGPSDFVOXSBQGPSDFUSZमਖ਼͔͕ͨͬͨ͠ɺ୯७ʹஔ͖͑Β Εͳ͍ՕॴಋೖͷλΠϛϯάͰमਖ਼͠ͳ͔ͬͨ
ϋϚͬͨͱ͜Ζ w4XJGU-JOU͔Β4XJGUରԠ wNJOOFͰ·ͩ4XJGUͳͷͰYΛೖΕΔඞ ཁ͕͋ͬͨ
νʔϜͰҭ͍ͯͯ͘ wࠓEJTBCMFʹͨ͠SVMFɺࠓޙίʔυΛվળͯ͠ ͍͘ͳ͔Ͱ༗ޮԽ͍͖͍ͯͨ͠ wͱ͍͑ɺνʔϜͰٞͨ͠ํ͕طʹ͋ΓɺͦΕͱ SVMF͕૬͢ΔͳΒແཧʹೖΕͳ͍
݁Ռͱͯ͠Α͔ͬͨ wࡉ͔͍·͕͍ͪ-JOUʹݟ͚ͭͯΒ͍ɺͬͱϨ Ϗϡʔ͖͢ͱ͜ΛϨϏϡʔͰ͖Δ w-JOUͰͷ8BSOJOH͕ݟ͍͢Α͏ʹɺଞͷ 8BSOJOHग़ͳ͍Α͏ʹ͍ͯ͜͠͏ͱ͍͏ۭؾ͕ νʔϜͷதʹੜ·Εͨ