Skip to content

Commit 7493117

Browse files
committed
Add editorconfig and composer.json post install project command
1 parent 6f5a7c8 commit 7493117

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
},
5252
"prefer-stable": true,
5353
"scripts": {
54+
"post-create-project-cmd": [
55+
"composer update"
56+
],
5457
"lint": [
5558
"parallel-lint . --exclude vendor"
5659
],

0 commit comments

Comments
 (0)