【ESLint】 error Trailing spaces not allowed

【ESLint】 error  Trailing spaces not allowed

はじめに

コジマです。

ESLintで

 error  Trailing spaces not allowed

というエラーが出た人のための記事です。

原因

行の末尾に空白があるとエラーが出ます。

解決

エラーが発生した箇所の行の末尾にある空白を取り除きましょう。

さいごに

この記事を面白いまたは役に立ったと思ってくれた方は是非私のTwitter(@kojimanotech)を
フォローしてくれたらうれしいです!

以上、コジマでした。


ESLintカテゴリの最新記事