TODO #17798
.editorconfig の導入を検討する。
ステータス: | 担当 | 開始日: | ||
---|---|---|---|---|
優先度: | 通常 | 期日: | ||
担当者: | - | 進捗率: | 0% | |
カテゴリ: | - | |||
対象バージョン: | - |
説明
下記などを想定。
root = true [*] #文字コード charset = utf-8 #改行コード end_of_line = lf #最終行に改行を追加 insert_final_newline = true #行末のスペースを除去 trim_trailing_whitespace = true #タブインデント indent_style = tab
CakePHPのeditorconfigも参考に取り入れる等
https://github.com/cakephp/cakephp/blob/master/.editorconfig
履歴
#1 渕上 将和 が9ヶ月前に更新
そういえば以前に作ってみたものがありました。
root = true [*] end_of_line = lf charset = utf-8 indent_style = tab indent_size = 4 trim_trailing_whitespace = false insert_final_newline = false [*.md] insert_final_newline = true [*.php] insert_final_newline = true [{package.json,*.yml}] indent_style = space indent_size = 2 [*.py] indent_style = space indent_size = 4