Force to use LF and add editorconfig
This commit is contained in:
parent
50084fe74f
commit
7defd861e8
8
.editorconfig
Normal file
8
.editorconfig
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
insert_final_newline = true
|
|
@ -22,12 +22,15 @@ gulp.task('prettify:verify', ['prettify:sources:verify', 'prettify:jsx:verify'])
|
||||||
|
|
||||||
var prettify_options = {
|
var prettify_options = {
|
||||||
html: {
|
html: {
|
||||||
|
eol: '\n',
|
||||||
indentSize: 2
|
indentSize: 2
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
|
eol: '\n',
|
||||||
indentSize: 2
|
indentSize: 2
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
|
eol: '\n',
|
||||||
indentSize: 2,
|
indentSize: 2,
|
||||||
braceStyle: "end-expand"
|
braceStyle: "end-expand"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue