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.5k
叱られて覚える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
1k
20220926_セキュリティチームの今_for_Drs._Prime_公開用.pdf
sota1235
0
63
再発防止策を考える技術 / #phpconsen
sota1235
10
3.6k
How to choose the best npm module for your team?
sota1235
9
530
Realtime Database for high traffic production application
sota1235
7
3.9k
Road to migrate JP Web as a microservice
sota1235
4
1.5k
インターフェース再入門 / Think Interface again
sota1235
6
10k
再発防止策を考える技術 #phpconfuk_rej
sota1235
1
1.1k
Update around Firebase #io18
sota1235
3
4.2k
Other Decks in Programming
See All in Programming
Quarto Clean Theme
nicetak
0
220
[PHPカンファレンス沖縄2024]「無理なくできるだけ安全に」テストもないレガシーコードをリファクタリングするテクニック
ikezoemakoto
3
120
◯◯エンジニアになった理由
gessy0129
PRO
0
630
CSC509 Lecture 01
javiergs
PRO
1
210
Cohesion in Modeling and Design
mploed
3
190
Kubernetes上でOracle_Databaseの運用を楽にするOraOperatorの紹介
nnaka2992
0
150
AWS CDKを用いたセキュアなCI/CDパイプラインの構築 / Build a secure CI/CD pipeline using AWS CDK
seike460
PRO
3
590
CSC509 Lecture 02
javiergs
PRO
0
160
CSC305 Lecture 01
javiergs
PRO
1
150
DjangoNinjaで高速なAPI開発を実現する
masaya00
0
490
WEBアプリケーションにおけるAWS Lambdaを用いた大規模な非同期処理の実践
delhi09
PRO
7
4k
NANIMACHI
naokiito
0
940
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
459
32k
4 Signs Your Business is Dying
shpigford
180
21k
Building an army of robots
kneath
302
42k
Designing for Performance
lara
604
68k
How to Ace a Technical Interview
jacobian
275
23k
YesSQL, Process and Tooling at Scale
rocio
167
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
For a Future-Friendly Web
brad_frost
174
9.3k
Code Review Best Practice
trishagee
62
16k
Speed Design
sergeychernyshev
22
470
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
48k
The Art of Programming - Codeland 2020
erikaheidi
51
13k
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ֶश
Ҏ্ɺղࢄʂ