Skip to content

Commit 89f33ea

Browse files
lichunqiangfancyecommerce
authored andcommitted
chore(cs): added gitignore && editorconfig (#8)
from 强
1 parent 13fc05e commit 89f33ea

File tree

3 files changed

+49
-22
lines changed

3 files changed

+49
-22
lines changed

.editorconfig

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# editorconfig.org
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
charset = utf-8
9+
10+
[*.php]
11+
indent_style = space
12+
indent_size = 4
13+
trim_trailing_whitespace = true
14+
15+
[*.{js,twig,css,scss,html}]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[{Gruntfile.js,bower.json,composer.json,package.json}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
[*.md]
24+
trim_trailing_whitespace = false

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
/composer.lock
3+
/vendor/

composer.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,40 @@
22
"name": "fancyecommerce/fecshop",
33
"description": "fancyecommerce yii2 fecshop ",
44
"keywords": [
5-
"yii2",
6-
"fecshop" ,
7-
"fancyecommerce" ,
8-
"shop" ,
9-
"ecommerce" ,
10-
"cart"
5+
"yii2",
6+
"fecshop" ,
7+
"fancyecommerce" ,
8+
"shop" ,
9+
"ecommerce" ,
10+
"cart"
1111
],
1212
"homepage": "https://github.com/fancyecommerce/yii2_fecshop",
1313
"type": "yii2-extension",
1414
"license": "BSD-3-Clause",
1515
"support": {
16-
"source": "https://github.com/fancyecommerce/yii2_fecshop"
16+
"source": "https://github.com/fancyecommerce/yii2_fecshop"
1717
},
1818
"authors": [
19-
{
20-
"name": "terry",
21-
"email": "[email protected]"
22-
}
19+
{
20+
"name": "terry",
21+
"email": "[email protected]"
22+
}
2323
],
2424
"minimum-stability": "stable",
2525
"require": {
26-
"php": ">=5.4.0",
27-
"yiisoft/yii2": ">=2.0.11" ,
28-
"fancyecommerce/fec_admin":">=1.3.6.5",
29-
"yiisoft/yii2-mongodb": "~2.1.0" ,
30-
"skeeks/yii2-assets-auto-compress": "*",
31-
"hightman/xunsearch": "*@beta"
26+
"php": ">=5.4.0",
27+
"yiisoft/yii2": ">=2.0.11" ,
28+
"fancyecommerce/fec_admin":">=1.3.6.5",
29+
"yiisoft/yii2-mongodb": "~2.1.0" ,
30+
"skeeks/yii2-assets-auto-compress": "*",
31+
"hightman/xunsearch": "*@beta"
3232
},
3333
"autoload": {
34-
"psr-4": {
35-
"fecshop\\": ""
36-
}
34+
"psr-4": {
35+
"fecshop\\": ""
36+
}
3737
},
3838
"config": {
39-
"process-timeout": 1800
40-
}
39+
"process-timeout": 1800
40+
}
4141
}

0 commit comments

Comments
 (0)