Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フォーマッターの導入 #50

Open
taiki-fw opened this issue Nov 2, 2019 · 0 comments
Open

フォーマッターの導入 #50

taiki-fw opened this issue Nov 2, 2019 · 0 comments
Assignees
Labels
frontend クライアント側で実装するもの func 機能 infra 開発基盤となるもの

Comments

@taiki-fw
Copy link
Owner

taiki-fw commented Nov 2, 2019

PB

VSCodeの拡張機能であるPrettierを利用しているので、フォーマットがエディタ依存となっている

導入

  • prettier ... コードをフォーマット(整形)してくれる。
  • eslint-plugin-prettier ... prettier -> eslintの順で実行してくれる。
  • eslint-config-prettier ... prettierが整形した箇所をeslintに無視させる。
@taiki-fw taiki-fw added func 機能 frontend クライアント側で実装するもの infra 開発基盤となるもの labels Nov 2, 2019
@taiki-fw taiki-fw self-assigned this Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend クライアント側で実装するもの func 機能 infra 開発基盤となるもの
Projects
None yet
Development

No branches or pull requests

1 participant