# EditorConfig helps developers define and maintain consistent # coding styles between different editors and IDEs # editorconfig.org root = true [*] # change these settings to your own preference indent_style = space indent_size = 2 # we recommend you to keep these unchanged end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false # PHP should follow the PSR-2 standard # https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md [*.php] indent_size = 4 [{package,bower}.json] indent_style = space indent_size = 2