38 lines
1.1 KiB
INI
38 lines
1.1 KiB
INI
# This file doesn't account for some differences:
|
|
# 1.VS Code VS Webstorm spaces inside imports. This can be fixed on the Webstorm side with:
|
|
# settings -> editor -> code style -> typescript -> spaces -> within -> ES6 import/export braces
|
|
# 2. Webstorm places a carriage return on {}, even for simply functions, adjust with:
|
|
# settings -> editor -> code style -> typescript -> wrapping and spacing -> simple blocks in one line
|
|
# settings -> editor -> code style -> typescript -> wrapping and spacing -> simple methods in one line
|
|
|
|
# Editor configuration, see http://editorconfig.org
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.md]
|
|
max_line_length = off
|
|
trim_trailing_whitespace = false
|
|
|
|
# EditorConfig is awesome: https://EditorConfig.org
|
|
|
|
# Matches multiple files with brace expansion notation
|
|
# Set default charset
|
|
[*.{js,py,ts}]
|
|
charset = utf-8
|
|
|
|
# Indentation override for all JS under lib directory
|
|
[lib/**.js]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
# Matches the exact files either package.json or .travis.yml
|
|
[{package.json,.travis.yml}]
|
|
indent_style = space
|
|
indent_size = 2
|