エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
error messageにコロンをつけたらlintに怒られた - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
error messageにコロンをつけたらlintに怒られた - Qiita
error strings should not be capitalized or end with punctuation or a newline エラーの文字列は大文... error strings should not be capitalized or end with punctuation or a newline エラーの文字列は大文字にしたり、句点、改行で終わらせたらいけないらしいです。 なぜ、そんな事になっているのか気になったので、公式のwikiで調べました。 Error strings should not be capitalized (unless beginning with proper nouns or acronyms) or end with punctuation, since they are usually printed following other context. このメッセージだけじゃないからということみたいです。 結果 以下のように直しました。