Skip to content

Commit

Permalink
remove tailer
Browse files Browse the repository at this point in the history
add editorconfig
  • Loading branch information
yaniswang committed Oct 6, 2015
1 parent d7baab3 commit 65b6b3f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

# Apply for all files
[*]

charset = utf-8

This comment has been minimized.

Copy link
@qwertypool

qwertypool Feb 11, 2018

charset = ISO-8859-1


indent_style = space
indent_size = 4

end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
2 changes: 1 addition & 1 deletion bin/htmlhint
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function getAllFiles(arrTargets){
if(arrTargets.length > 0){
for(var i=0,l=arrTargets.length;i<l;i++){
var filepath = path.resolve(process.cwd(), arrTargets[i]);
if(fs.existsSync(filepath) !== false){
if(fs.existsSync(filepath) !== false){
if(fs.statSync(filepath).isFile) {
arrAllFiles.push(filepath);
} else {
Expand Down

0 comments on commit 65b6b3f

Please sign in to comment.