# EditorConfig helps developers define and maintain consistent coding styles # between different editors and IDEs. # # More information: http://editorconfig.org/ # # Install the plugin for your IDE: http://editorconfig.org/#download # Don't look for another .editorconfig file in parent directories root = true # Defaults to tab-indented (use smart-tabs) [*] charset = utf-8 indent_style = tab end_of_line = LF insert_final_newline = true trim_trailing_whitespace = true # 2 space indentation for package.json and bower.json [{package,bower}.json] indent_style = space indent_size = 2 # 4 space indentation for composer.json [composer.json] indent_style = space indent_size = 4 # 2 space indentation for all yml files. [*.yml] indent_style = space indent_size = 2 # Don't trim trailing whitespace on MarkDown. # (Remember, trailing spaces in markdown is used to differentiate line breaks and paragraphs) [*.md] indent_style = space indent_size = 4 trim_trailing_whitespace = false # 4-space indentation for all PHP files # PSR-2: Coding Style Guide (http://www.php-fig.org/psr/psr-2/) [*.php] indent_style = space indent_size = 4