# Editor configuration, see https://editorconfig.org
root = true

# All files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

# TypeScript, JavaScript
[*.{ts,js}]
indent_size = 2
max_line_length = 100
quote_type = single
ij_typescript_use_double_quotes = false

# HTML
[*.html]
indent_size = 2
max_line_length = 120

# CSS, SCSS, LESS
[*.{css,scss,less}]
indent_size = 2
max_line_length = 120

# JSON
[*.json]
indent_size = 2

# Markdown
[*.md]
max_line_length = off
trim_trailing_whitespace = false

# Package files
[{package.json,*.lock}]
indent_size = 2
