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
叱られて覚えるES2015
Search
Sota Sugiura
July 02, 2016
Programming
1
1.6k
叱られて覚えるES2015
YAP(achimon)C::Asia Hachioji 2016 LT 発表資料
Sota Sugiura
July 02, 2016
Tweet
Share
More Decks by Sota Sugiura
See All by Sota Sugiura
内製したSlack Appで頑張るIncident Response@Waroom Meetup #1 / Incident Response with Slack App in 10X
sota1235
0
1.7k
20220926_セキュリティチームの今_for_Drs._Prime_公開用.pdf
sota1235
0
140
再発防止策を考える技術 / #phpconsen
sota1235
10
3.9k
How to choose the best npm module for your team?
sota1235
9
600
Realtime Database for high traffic production application
sota1235
7
4k
Road to migrate JP Web as a microservice
sota1235
4
1.6k
インターフェース再入門 / Think Interface again
sota1235
6
11k
再発防止策を考える技術 #phpconfuk_rej
sota1235
1
1.2k
Update around Firebase #io18
sota1235
3
4.3k
Other Decks in Programming
See All in Programming
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
650
コンテキストエンジニアリング Cursor編
kinopeee
1
700
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
570
Laravel Boost 超入門
fire_arlo
1
110
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
970
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
900
TanStack DB ~状態管理の新しい考え方~
bmthd
2
320
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
8
3.2k
私の後悔をAWS DMSで解決した話
hiramax
4
110
コーディングエージェント時代のNeovim
key60228
1
100
Introduction to Git & GitHub
latte72
0
120
Featured
See All Featured
A designer walks into a library…
pauljervisheath
207
24k
Unsuck your backbone
ammeep
671
58k
Producing Creativity
orderedlist
PRO
347
40k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Code Review Best Practice
trishagee
70
19k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Balancing Empowerment & Direction
lara
2
580
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
What's in a price? How to price your products and services
michaelherold
246
12k
The Pragmatic Product Professional
lauravandoore
36
6.8k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Transcript
ࣤΒΕ֮ͯ͑Δ &4 !TPUB :"1 BDIJNPO $"TJB)BDIJPKJ-JHIUJOH5BML
ࣗݾհ w !TPUB w +4ྺ w ͖ͳݴ༿ɿ7 w ݏ͍ͳݴ༿ɿ*OUFSOFU&YQMPSFS
&4
&4 w ࡢϦϦʔε͞Εͨ&$."4DSJQUͷ৽͍͠όʔ δϣϯ w ʲॕʳ&4͜ͷલग़ͨΑ
&4ͱͷҧ͍ w લճόʔδϣϯ͔Βͷมߋ͕ΊͪΌͪ͘Όଟ͍ w ྆खͷࢦͰऩ·Βͳ͍ͷ৽ػߏ͕ʜ w ࠓ·ͰͭΒ͔ͬͨ+4ͷͷଟ͕͘ղܾ͞Εͨ
#VU ৽ػೳଟ͓͗͢΅͑ΒΕͳ͍ʜ Ňŏ﹏ŏ
/FXGFBUVSFT w DPOTUMFU w BSSPXGVODUJPO w PCKFDUMJUFSBM w DMBTTTZOUBY w
1SPYZ w 4ZNCPM w FYQPSUJNQPSU w TQSFBEPQFSBUPS w EFGBVMUQBSBNFUFS w BOENPSF ꒪⌓꒪
֮͑Δͷେมʜ
͜͏͍͏࣌Ͳ͏͖͚ͯͨͬ͠ʜ ɾТɾʆ
ࠓ·Ͱͷਓੜ w ॓
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w Ոࣄ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧˠࣤΒΕ͔ͯΒΔ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧˠࣤΒΕ͔ͯΒΔ w ࣄ
ࠓ·Ͱͷਓੜ w ॓ˠࣤΒΕ͔ͯΒΔ w ՈࣄˠࣤΒΕ͔ͯΒΔ w डݧษڧˠࣤΒΕ͔ͯΒΔ w ࣄˠࣤΒΕ͔ͯΒຊؾͩ͢
ʮ͓ࣤΓʯͦ͜Ϟνϕʔγϣϯ w ਓࣤΒΕΔͱؤுΕΔ w զʑͷۀքͰ SZ
ٹੈओΛ୳͢ʜ +4จ๏Λࣤͬͯ͘ΕΔਓ͍ͳ͍ͩΖ͏͔
ٹੈओΛ୳͢ʜ +4จ๏Λࣤͬͯ͘ΕΔਓ͍ͳ͍ͩΖ͏͔
&4-JOU w +BWB4DSJQUͷจ๏νΣοΧʔ w ඇৗʹ๛ͳϧʔϧ͕༻ҙ͞ΕͯΔ w ଞͷਓͷϧʔϧϑΝΠϧΛJNQPSU͢Δ͜ͱ͕Մೳ
͍ΖΜͳϧʔϧ w FTMJOUDPOpHFTMJOU w FTMJOUDPOpHBJSCOC w FTMJOUDPOpHHPPHMF w FTMJOUDPOpHTUBOEBSE w
FUD
FTMJOUDPOpHBJSCOC w &4༻ϧʔϧΛҰ൪࠷ॳʹ࡞Γ࢝Ίͨ w ਓؾϧʔϧ w &4ه๏Ͱॻ͘ͱΊͪΌͪ͘ΌౖΒΕΔ w IUUQTHJUIVCDPNBJSCOCKBWBTDSJQUCMPCNBTUFS QBDLBHFTFTMJOUDPOpHBJSCOCCBTFSVMFTFTKT
ͯ͜ͱͰ w "JSCOCϧʔϧͰ&4Λ֮͑Δ
ҧ͏ ʄшʄ ސ٬ͷٻΊͯΔͷͦ͏͡Όͳ͍
ސ٬ͷຊʹඞཁͩͬͨͷ ʴ
ސ٬ͷຊʹඞཁͩͬͨͷ ⋵ ʴ
͜͜·Ͱ৺ߏ͑ͷ ࣮ࡍʹࢼͯ͠ΈΔ
ਓப w IUUQTHJUIVCDPNTPUB1BSUZ w 3FBDU /PEFKTͷੲॻ͍ͨΞϓϦΛνΣοΫ ͢Δ
*OTUBMM $ npm i -D eslint \ eslint-config-airbnb \ eslint-plugin-import
\ eslint-plugin-react
FTMJOUSD { "extends": "airbnb" }
$PNNBOE $ ./node_modules/eslint/bin/eslint.js src/ # or $ npm run lint
# package.jsonͰ”eslint src/“Λఆٛ
%&.0
݁Ռ w ίʔυྔߦ w ͷΤϥʔͱͷܯࠂ͕ग़ͨ w զʑͷۀքE SZ
&4༝དྷͷΤϥʔ • Unexpected var, use let or const instead •
'option' is never reassigned, use 'const' instead • Expected property shorthand
&4༝དྷͷΤϥʔ • Unexpected var, use let or const instead •
'option' is never reassigned, use 'const' instead • Expected property shorthand WBS͡Όͳͯ͘MFU DPOTUΛ͑ ࠶ೖ͠ͳ͍ͳΒDPOTU͑ 0CKFDUTIPSUIBOEͰॻ͚Δͥ
ଞʹʜ w ඇৗʹଟ͘ͷϧʔϧ͕ఆٛ͞Ε͍ͯΔ w ͬͯΔه๏Ͱؤுͬͯॻ͍ͯɺ࿙ΕͨͷΛ &4-JOUʹࣤͬͯΒ͏ͱΑ͍
·ͱΊ
େࣄͳͷϞνϕʔγϣϯ w ࣤΒΕΔͱؤுΕΔ w ࣤͬͯ͘ΕΔ͜ͱΛ͝๙ඒͩͱࢥ͑ͬͱؤ ுΕΔ w &4-JOUʹࣤͬͯΒָͬͯ͘͠&4ֶश
Ҏ্ɺղࢄʂ