зеркало из https://github.com/dotnet/razor.git
Enforce EOF New Line in .ts (#3058)
* Enforce EOF New Line in .ts * Add to .editorconfig
This commit is contained in:
Родитель
2846dc2b05
Коммит
c252df9aa9
|
@ -31,6 +31,10 @@ indent_size = 2
|
|||
[*.json]
|
||||
indent_size = 2
|
||||
|
||||
# TypeScript files
|
||||
[*.ts]
|
||||
insert_final_newline = true
|
||||
|
||||
# Dotnet code style settings:
|
||||
[*.cs]
|
||||
# Sort using and Import directives with System.* appearing first
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"limit": 200
|
||||
}
|
||||
},
|
||||
"one-line": [true, "check-open-brace", "check-catch", "check-finally", "check-else", "check-whitespace"]
|
||||
"one-line": [true, "check-open-brace", "check-catch", "check-finally", "check-else", "check-whitespace"],
|
||||
"eofline": true
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче