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
ミススペルを発見するmisspellのご紹介 / Introduce misspell
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
papix
January 19, 2021
Technology
1.2k
0
Share
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
January 19, 2021
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
1.8k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
720
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.6k
イベントの中の人 / Inside the Events
papix
0
340
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
610
ワーケーションに関する考察
papix
3
2.3k
(今更)Amplifyさっくり体験
papix
0
910
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.7k
「知らなかった」を聞きに行く 〜海外カンファレンス参加のススメ〜 / builderscon 2019
papix
0
370
Other Decks in Technology
See All in Technology
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
400
Embeddings : Symfony AI en pratique
lyrixx
0
430
私がよく使うMCPサーバー3選と社内で安全に活用する方法
kintotechdev
0
150
15年メンテしてきたdotfilesから開発トレンドを振り返る 2011 - 2026
giginet
PRO
2
250
OPENLOGI Company Profile for engineer
hr01
1
61k
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
270
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
230
自分をひらくと次のチャレンジの敷居が下がる
sudoakiy
3
1.1k
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
11
6.9k
遊びで始めたNew Relic MCP、気づいたらChatOpsなオブザーバビリティボットができてました/From New Relic MCP to a ChatOps Observability Bot
aeonpeople
1
130
脳が溶けた話 / Melted Brain
keisuke69
1
1.1k
ThetaOS - A Mythical Machine comes Alive
aslander
0
230
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
エンジニアに許された特別な時間の終わり
watany
106
240k
Balancing Empowerment & Direction
lara
5
1k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.2k
Color Theory Basics | Prateek | Gurzu
gurzu
0
270
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
990
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
Transcript
ϛεεϖϧΛൃݟ͢Δ misspellͷ͝հ 2021/1/19 ٢ࣉ.pm #25 - papix
ࣗݾհ • papix (id:papix / @__papix__) • גࣜձࣾͯͳ WebΞϓϦέʔγϣϯΤϯδχΞ (2017ʙ)
• ϒϩάMediaνʔϜ → ϚϯΨνʔϜ • Ұൠࣾஂ๏ਓJapan Perl Associationཧࣄ • ϒϩά: https://papix.hatena(blog.(com|jp)|diary.jp)
ࠓmisspellͷΛ͠·͢
client9/misspell • https://github.com/client9/misspell • Goͷπʔϧ • ӳޠͷϛεεϖϧΛൃݟͯ͘͠ΕΔ܅
͜Μͳ͜ͱ͋Γ·ͤΜ͔?
͜Μͳ͜ͱ͋Γ·ͤΜ͔? • ม໊Λtypo͍ͯͨ͠...! • ެ։͢ΔAPIυΩϡϝϯτʹtypo͕͋ͬͨ...! • σʔλϕʔεͷschemaʹtypo͕͋ͬͨ...!
ͦΜͳ͋ͳͨʹmisspell!
misspellͰൃݟ͢Δ $ go get -u github.com/client9/misspell/cmd/misspel l $ cat sample.tx
t - TOOD: typo͕ͳ͍͔֬ೝ͢Δ $ misspell . sample.txt:1:2: "TOOD" is a misspelling of "TODO " $ vim sample.txt # मਖ਼͢Δ.. . $ cat sample.tx t - TODO: typo͕ͳ͍͔֬ೝ͢Δ $ misspell . # ϛεεϖϧ͕ͳ͍ͷͰԿग़ྗͳ͍
ߋʹ...
reviewdog/action-misspell
ศར!!!
༨ஊ: ࣮ࡍʹݟ͔ͭͬͨϛεεϖϧୡ • ࢹͩͱؾ͖ͮʹ͍͘, ͜ΜͳϛεεϖϧΛൃݟ͠·ͨ͠ • cannnot → cannot •
recomended → recommended • occured → occurred • minumum → minimum • comparision → comparison
༨ஊ: occured? occurred? • weblioӳࣙయΛݟΔͱ... • occured = occurͷաڈܗ, աڈࢺܗͱ͋Δ
• https://ejje.weblio.jp/content/occured
༗ࣝऀͷݟղ
·ͱΊ • typoͳͲʹΑΔϛεεϖϧΛൃݟ͢ΔmisspellΛհ͠·ͨ͠ • reviewdogͱ࿈ܞ͢Δͱ, Pull Requestʹࣗಈతʹࢦఠͯ͘͠Ε·͢ • ϛεεϖϧ୭Ͱͬͯ͠·͏ͷ... •
͔͠͠, ͦͷ··͍ͬͯΔͱࠞཚͷݩʹͳΓ͕ͪ • ͏·͘πʔϧΛͬͯൃݟ, मਖ਼͍͖ͯ͠·͠ΐ͏!