Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 9c93dca

Browse files
committed
Merge pull request #118 from pedroparra/master
.editorconfig file in shared templates
2 parents d8e745e + db7e7ed commit 9c93dca

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ An Expressjs generator for Yeoman, based on the express command line tool.
1111
- Basic or MVC style file structure
1212
- CoffeeScript Support
1313
- Gulp or Grunt build tools with file watching and livereload
14+
- .editorconfig for consistent coding styles within text editors
1415
- Support View engines:
1516
- Jade
1617
- Handlebars
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

test/test-creation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var rimraf = require('rimraf');
88

99
var basicExpected = [
1010
'.bowerrc',
11+
'.editorconfig',
1112
'.gitignore',
1213
'bower.json',
1314
'app.js',
@@ -22,6 +23,7 @@ var basicExpected = [
2223

2324
var MVCExpected = [
2425
'.bowerrc',
26+
'.editorconfig',
2527
'.gitignore',
2628
'bower.json',
2729
'app.js',

0 commit comments

Comments
 (0)