mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 13:27:18 +02:00
Improve EditorConfig file
Changes: - Fix invalid EditorConfig globs - Remove unecessary ** in .editorconfig - Trim trailing whitespace from .editorconfig - Remove Sublime-specific comment - Remove Makefile rule from EditorConfig file - Apply tab indentation to all files - Add Dockerfile and Procfile rule to .editorconfig
This commit is contained in:
@@ -1,36 +1,25 @@
|
||||
# EditorConfig is awesome: http://EditorConfig.org
|
||||
|
||||
# Howto with your editor:
|
||||
# Sublime: https://github.com/sindresorhus/editorconfig-sublime
|
||||
# How-to with your editor: http://editorconfig.org/#download
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[**]
|
||||
[*]
|
||||
end_of_line = lf
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
|
||||
# Standard at: https://github.com/felixge/node-style-guide
|
||||
[**.js, **.json]
|
||||
[{Dockerfile,Procfile}]
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Standard at: https://github.com/felixge/node-style-guide
|
||||
[{*.js,*.json}]
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = tab
|
||||
quote_type = single
|
||||
curly_bracket_next_line = false
|
||||
spaces_around_operators = true
|
||||
space_after_control_statements = true
|
||||
space_after_anonymous_functions = false
|
||||
spaces_in_brackets = false
|
||||
|
||||
# No Standard. Please document a standard if different from .js
|
||||
[**.yml, **.html, **.css]
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = tab
|
||||
|
||||
# No standard. Please document a standard if different from .js
|
||||
[**.md]
|
||||
indent_style = tab
|
||||
|
||||
# Standard at:
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
Reference in New Issue
Block a user