【发布时间】:2021-06-17 07:39:20
【问题描述】:
一个是 .editorconfig 文件,另一个是 .ignore 文件,告诉我,我是否应该包含它,其他文件将被忽略,如下所示。
.ignore 文件
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.phpunit.result.cache
docker-compose.override.yml
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
/.idea
/.phpIntel
/.vscode
.editorconfig
.editorConfig 文件
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
新手编码员
【问题讨论】:
标签: laravel deployment editorconfig