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.1k
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
January 19, 2021
Tweet
Share
More Decks by papix
See All by papix
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.5k
イベントの中の人 / Inside the Events
papix
0
260
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
520
ワーケーションに関する考察
papix
3
2.1k
(今更)Amplifyさっくり体験
papix
0
840
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.2k
「知らなかった」を聞きに行く 〜海外カンファレンス参加のススメ〜 / builderscon 2019
papix
0
340
Perl in Japan
papix
0
2.6k
Perlでもトレーシングがしたい! 〜はてなブログの"見える化"への挑戦〜 / Tracing in Perl
papix
1
1.2k
Other Decks in Technology
See All in Technology
Restarting_SRE_Road_to_SRENext_.pdf
_awache
1
220
大規模サービスにおける カスケード障害
takumiogawa
3
770
問題解決に役立つ数理工学
recruitengineers
PRO
8
2.4k
デザインシステムのレガシーコンポーネントを刷新した話/Design System Legacy Renewal
kaonavi
0
130
バックエンド留学した話/Backend study abroad story
kaonavi
0
130
OPENLOGI Company Profile
hr01
0
62k
入社後SREチームのミッションや課題の整理をした話
morix1500
1
210
「それはhowなんよ〜」のガイドライン #orestudy
77web
9
2.3k
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
4
590
Tokyo dbt Meetup #13 dbtと連携するBI製品&機能ざっくり紹介
sagara
0
310
お問い合わせ対応の改善取り組みとその進め方
masartz
1
580
DevOps文化を育むQA 〜カルチャーバブルを生み出す戦略〜 / 20250317 Atsushi Funahashi
shift_evolve
1
120
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
Faster Mobile Websites
deanohume
306
31k
How to Ace a Technical Interview
jacobian
276
23k
GraphQLの誤解/rethinking-graphql
sonatard
70
10k
Building Adaptive Systems
keathley
41
2.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
A better future with KSS
kneath
239
17k
KATA
mclloyd
29
14k
Rails Girls Zürich Keynote
gr2m
94
13k
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ʹࣗಈతʹࢦఠͯ͘͠Ε·͢ • ϛεεϖϧ୭Ͱͬͯ͠·͏ͷ... •
͔͠͠, ͦͷ··͍ͬͯΔͱࠞཚͷݩʹͳΓ͕ͪ • ͏·͘πʔϧΛͬͯൃݟ, मਖ਼͍͖ͯ͠·͠ΐ͏!