7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

jshint でケツカンマを見つける

Posted at

vim で syntastic プラグインを使っています。
とても便利。JavaScript の文法チェックもOK。
だけど、最近、ケツカンマを見つけてくれなくなったので、その解決策

jshint のオプションを設定してやります。
ユーザーのホームディレクトリに .jshintrc を作ってその中に JSON でオプションを書きます。

JSHintのoption一覧

というとても便利な記事があります。

ケツカンマを見つけるには es3 オプションを true にします。

{
    "es3": true
}

以上です。

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?