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.4k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
640
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.6k
イベントの中の人 / Inside the Events
papix
0
300
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
560
ワーケーションに関する考察
papix
3
2.2k
(今更)Amplifyさっくり体験
papix
0
880
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.5k
「知らなかった」を聞きに行く 〜海外カンファレンス参加のススメ〜 / builderscon 2019
papix
0
350
Other Decks in Technology
See All in Technology
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
130
生成AI時代のセキュアコーディングとDevSecOps
yuriemori
0
140
SCONE - 動画配信の帯域を最適化する新プロトコル
kazuho
1
280
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
200
MCP ✖️ Apps SDKを触ってみた
hisuzuya
0
220
Kubernetes self-healing of your workload
hwchiu
0
310
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
0
230
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
940
Claude Code Subagents 再入門 ~cc-sddの実装で学んだこと~
gotalab555
10
17k
Claude Codeを駆使した初めてのiOSアプリ開発 ~ゼロから3週間でグローバルハッカソンで入賞するまで~
oikon48
10
5.2k
AIとともに歩んでいくデザイナーの役割の変化
lycorptech_jp
PRO
0
730
Copilot Studio ハンズオン - 生成オーケストレーションモード
tomoyasasakimskk
0
180
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4k
How GitHub (no longer) Works
holman
315
140k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Typedesign – Prime Four
hannesfritz
42
2.8k
A Tale of Four Properties
chriscoyier
161
23k
Become a Pro
speakerdeck
PRO
29
5.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Automating Front-end Workflow
addyosmani
1371
200k
Balancing Empowerment & Direction
lara
5
700
Producing Creativity
orderedlist
PRO
347
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
49
51k
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ʹࣗಈతʹࢦఠͯ͘͠Ε·͢ • ϛεεϖϧ୭Ͱͬͯ͠·͏ͷ... •
͔͠͠, ͦͷ··͍ͬͯΔͱࠞཚͷݩʹͳΓ͕ͪ • ͏·͘πʔϧΛͬͯൃݟ, मਖ਼͍͖ͯ͠·͠ΐ͏!