0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VSCodeでPrettierが効かない

Posted at

VSCodeでVSCodeが効かない

  • 拡張機能は有効
  • Format on Saveも設定している

確認

  • ターミナルのOUTPUTでPretiterを選択し、下記メッセージが表示されていれば、以下の方法で解決します。
Require config set to true and no config present. Skipping file.

解決

  • 設定の「Prettier: Require Config」のチェックを外す
  • このチェックが入っていると、.prettierrcファイルがない場合にPrettierが効かなくなる。
  • .prettierrcを書かない場合には、Require Configをfalseにしておく。

参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?