# This project uses EditorConfig for setting code formatting options: http://EditorConfig.org root = true # Default settings for all files [*] charset = utf-8 end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true indent_style = tab indent_size = tab tab_width = 4 max_line_length = 120 spaces_around_operators = true spaces_around_brackets = none curly_bracket_next_line = true indent_brace_style = Allman continuation_indent_size = 4 [*.{css,less}] curly_bracket_next_line = false continuation_indent_size = 0 # Formats likely to be pasted into an REPL on a terminal should not use tabs to avoid triggering tab-completion. [*.{sh,bash,sql,psql,pgsql}] indent_style = space indent_size = 4 [{*.yml,.eslintrc}] indent_style = space indent_size = 2 [*.{js,json,vue}] indent_style = space indent_size = 4 # Special overrides for automatically-generated files [{package.json,.jshintrc}] indent_size = 2 # For some formats, trailing whitespace is significant; don't strip it. [*.{md,diff,patch}] trim_trailing_whitespace = false