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
TSLint will be deprecated. Migration to typescript-eslint / #kansaits 2
Search
Masashi Hirano
September 06, 2019
Programming
0
510
TSLint will be deprecated. Migration to typescript-eslint / #kansaits 2
kansai.ts #2(
https://kansaits.connpass.com/event/131541/)で飛び入りLTをしました
。
Masashi Hirano
September 06, 2019
Tweet
Share
More Decks by Masashi Hirano
See All by Masashi Hirano
OSSとコミュニティを支える
masashi
1
760
英語ができなかった自分達が、グローバルチーム立ち上げに挑戦!?
masashi
1
2.7k
フロントエンド開発のためのセキュリティ入門について
masashi
1
410
フロントエンド開発のためのセキュリティ入門
masashi
47
17k
Node.jsの2022年と未来 / Node.js in 2022 and Future
masashi
1
930
Corepack ~Node.jsに追加されたパッケージマネージャーマネージャー~ / #tng37
masashi
3
12k
Node.js + Web Compatibility
masashi
2
520
サイボウズが行うフロントエンドの品質保証 / Frontend Quality Assurance at Cybozu
masashi
10
2.8k
実践 OSSことはじめ / First Step for OSS Contribution
masashi
4
9.5k
Other Decks in Programming
See All in Programming
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.4k
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
9
4.2k
Elm 0.19.0 Changes
bkuhlmann
0
490
Sheets API使ってみた
toshi0383
2
150
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
410
Tailwind CSSを本気でカスタマイズする方法
fsubal
14
5.4k
What We Can Learn From OSS
inouehi
0
430
Fragment Composition of GraphQL
quramy
13
1.4k
VS Code をプロダクトにどう取り込むか
onomax
1
600
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
190
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
230
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Building Your Own Lightsaber
phodgson
100
5.7k
Side Projects
sachag
451
41k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
32
6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
4
3.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Git: the NoSQL Database
bkeepers
PRO
423
63k
Thoughts on Productivity
jonyablonski
59
3.8k
How GitHub (no longer) Works
holman
305
140k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
In The Pink: A Labor of Love
frogandcode
138
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Transcript
TSLint will be deprecated Migration to typescript-eslint Masashi Hirano @shisama
kansai.ts #2
ฏ ণ࢜ / Masashi Hirano αΠϘζגࣜձࣾ ɹɹ ϑϩϯτΤϯυΤΩεύʔτνʔϜ @shisama_ @shisama
Node.js Core Collaborator ؔNodeֶԂOrganizer
Agenda • TSLint Roadmap • typescript-eslint • Migration to typescript-eslint
https://palantir.github.io/tslint/
TSLint • TypeScript༻ͷ੩తղੳπʔϧ • CLIΛ࣮ߦ͢ΔͱTypeScriptͷϑΝΠϧͷղੳΛͯ͠ఆٛͨ͠ ϧʔϧΛνΣοΫ͢Δ͜ͱ͕Ͱ͖Δπʔϧ • Πϯσϯτͱ͔ίʔυͷελΠϧͷνΣοΫͳͲ • ϩδοΫͷෳࡶͳͲνΣοΫͰ͖Δ
ΊͬͪΌศརͳΜ͚ͩͲɺ 2019ϝϯςφϯεΛऴྃ͠·͢
https://github.com/Microsoft/TypeScript/issues/29288
https://github.com/Microsoft/TypeScript/issues/29288 54-JOUύϑΥʔϚϯε͕ѱ͍ɻΞʔΩς Ϋνϟ্ʹ͕͋Δ͔Β5ZQF4DSJQUͱͯ͠ &4-JOUΛ͍ͬͯ͘Α
https://github.com/palantir/tslint 54-JOUXJMMCFEFQSFDBUFETPNFUJNFJO
https://github.com/palantir/tslint/issues/4534
https://github.com/palantir/tslint/issues/4534
TSLint Roadmap • 2019/8/1ɾɾɾίΞͷϧʔϧՃΛετοϓ • 2019/11/1ɾɾɾػೳՃɺϧʔϧ֦ுΛετοϓ • 2020/1/1ɾɾɾηΩϡϦςΟҎ֎ͷߋ৽Λͯ͢ετοϓ • 2020/12/1ɾɾɾͯ͢ͷPull
RequestͷडΛετοϓ
https://github.com/typescript-eslint/typescript-eslint
typescript-eslintͱ • TypeScriptΛESLintͰνΣοΫ͢ΔͨΊͷϓϥάΠϯͳͲΛཧ ͍ͯ͠Δ • ESLintνʔϜͱTypeScriptνʔϜ͕ڠྗ͍ͯ͠Δ • ͱͱ͋ͬͨeslint/typescript-eslint-parserͳͲDeprecated
https://teppeis.hatenablog.com/entry/2019/02/typescript-eslint UZQFTDSJQUFTMJOUͷ͍ํͳͲͪ͜Β
Migrate to typescript-eslint • ҎԼͷύοέʔδ͕ඞཁ • @typescript-eslint/eslint-plugin • tslint.jsonΛ.eslintrcʹॻ͖͑Δඞཁ͕͋Δ
https://teppeis.hatenablog.com/entry/2019/02/typescript-eslint QMVHJOTɺQBSTFSɺQBSTFS0QUJPOTͷઃఆ͕ඞཁ
https://github.com/typescript-eslint/tslint-to-eslint-config
tslint-to-eslint-configͱ • tslint.jsonΛ.eslintʹίϯόʔτ͢ΔCLIπʔϧ • typescript-eslintνʔϜ͕։ൃ • ੜ͢ΔܗࣜJSΦϒδΣΫτͱJSONΛαϙʔτ • npx tslint-to-eslint-configΛ࣮ߦ͢Δͱtslint.jsonΛಡΜͰeslintrc.js
ͱ͍͏ϑΝΠϧΛੜ͠·͢
https://qiita.com/shisama/items/b3d63142797b07cb554e ϑΝΠϧ໊ͷࢦఆ+40/ग़ྗͳͲ Φϓγϣϯʹ͍ͭͯͪ͜Β
https://qiita.com/shisama/items/b3d63142797b07cb554e ͱ͍͑ɺᘳͰͳ͍ʂ ੜ͞ΕͨFTMJOUSDΛ खͰमਖ਼͢Δඞཁ͕͋ΔͷͰҙʂ
·ͱΊ • TSLint͍ͬͯΔਓૣΊʹESLintʹҠߦ͢Δඞཁ͕͋Δ • ࠓޙtypescript-eslint + ESLintͰTypeScriptͷLintΛ͠·͠ΐ͏ • tslint-to-eslint-configΛ͏ͱҠߦΘΓͱεϜʔζʹ͍͔͘ •
typescript-eslintνʔϜ։ൃͳͷͰվળ͞Ε͍ͯ͘ͷΛظ
Thanks. @shisama_ @shisama