Skip to content

Commit

Permalink
Update .editorconfig with the correct line-endings and whitespace-tri…
Browse files Browse the repository at this point in the history
…mming
  • Loading branch information
tiennou committed Feb 5, 2024
1 parent e1c1b01 commit 5cc8c34
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
[*]
charset=utf-8
end_of_line=crlf
end_of_line=lf
insert_final_newline=false
indent_style=space
indent_size=4

[{.babelrc,.stylelintrc,.eslintrc,jest.config,*.json,*.jsb3,*.jsb2,*.bowerrc}]
indent_style=space
indent_size=2
end_of_line=lf
trim_trailing_whitespace=true

[{*.ats,*.ts}]
[{*.ats,*.ts,*.js}]
indent_style=tab
tab_width=4
end_of_line=lf
trim_trailing_whitespace=true

[tslint.json]
indent_style=space
indent_size=2

end_of_line=lf
trim_trailing_whitespace=true

0 comments on commit 5cc8c34

Please sign in to comment.