youngeek-0410 / SekigaeService

SekigaeService
2 stars 0 forks source link

add formatter #85

Closed kathmandu777 closed 3 years ago

kathmandu777 commented 3 years ago

概要

formatterの追加

改善の背景

各自のローカルでformatterが異なるとその差分が出てしまうため統一する。

要件

コミットする時に自動的にフォーマットをしてくれるようにする。

検討事項

python

pep8に準拠(1行の文字数などは制限を外しても良い)

others

prettier?

実装方針

テスト項目

kathmandu777 commented 3 years ago

https://masakimisawa.com/use_project_setting_auto_format_before_commit/

kathmandu777 commented 3 years ago

https://www.nooozui.com/entry/20200108/1578479183

kathmandu777 commented 3 years ago

used

kathmandu777 commented 3 years ago

when husky dosent correctly, try this. https://stackoverflow.com/questions/50048717/lint-staged-not-running-on-precommit