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
papix
January 19, 2021
Technology
0
1.2k
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
January 19, 2021
Tweet
Share
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
1.3k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
630
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.5k
イベントの中の人 / Inside the Events
papix
0
290
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
550
ワーケーションに関する考察
papix
3
2.2k
(今更)Amplifyさっくり体験
papix
0
870
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.5k
「知らなかった」を聞きに行く 〜海外カンファレンス参加のススメ〜 / builderscon 2019
papix
0
350
Other Decks in Technology
See All in Technology
Browser
recruitengineers
PRO
8
2.3k
AWS環境のリソース調査を Claude Code で効率化 / aws investigate with cc devio2025
masahirokawahara
2
1.2k
大「個人開発サービス」時代に僕たちはどう生きるか
sotarok
18
8.4k
Oracle Cloud Infrastructure:2025年8月度サービス・アップデート
oracle4engineer
PRO
0
190
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
1
670
Nstockの一人目エンジニアが 3年間かけて向き合ってきた セキュリティのこととこれから〜あれから半年〜
yo41sawada
0
200
Agile PBL at New Grads Trainings
kawaguti
PRO
1
190
Kubernetes における cgroup v2 でのOut-Of-Memory 問題の解決
pfn
PRO
0
450
なぜSaaSがMCPサーバーをサービス提供するのか?
sansantech
PRO
7
2.2k
コスト削減の基本の「キ」~ コスト消費3大リソースへの対策 ~
smt7174
2
340
Skrub: machine-learning with dataframes
gaelvaroquaux
0
110
AWSで推進するデータマネジメント
kawanago
0
930
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Producing Creativity
orderedlist
PRO
347
40k
Facilitating Awesome Meetings
lara
55
6.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
11
1.1k
4 Signs Your Business is Dying
shpigford
184
22k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
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ʹࣗಈతʹࢦఠͯ͘͠Ε·͢ • ϛεεϖϧ୭Ͱͬͯ͠·͏ͷ... •
͔͠͠, ͦͷ··͍ͬͯΔͱࠞཚͷݩʹͳΓ͕ͪ • ͏·͘πʔϧΛͬͯൃݟ, मਖ਼͍͖ͯ͠·͠ΐ͏!