Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
#318 Fix linebreak issues by adding Editor config file
Browse files Browse the repository at this point in the history
Getting lots of linebreak expected to be lf errors on Windows

The editorconfig file supported by most editors should automatically
save files in LF file ending regardless of the OS

Recommend extensions when using VSCode editor

VSCode will recommend the user installing the Editor Config and
tslint extension when not installed.

The editor now understands the indent type and size for files

closes #318
  • Loading branch information
bondz authored and HamletDRC committed Dec 5, 2016
1 parent d8ece17 commit f20d599
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
indent_style = space
charset = utf-8

[src/**]
indent_size = 4
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
"EditorConfig.EditorConfig",
"eg2.tslint"
]
}

0 comments on commit f20d599

Please sign in to comment.