# YAML files [*.yml] indent_style = space indent_size = 2 [*.yaml] indent_style = space indent_size = 2 # EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true charset = utf-8 # PHP files - WordPress coding standards use tabs [*.php] indent_style = tab indent_size = 4 # HTML files [*.html] indent_style = space indent_size = 4 # CSS, SCSS, JavaScript, and JSON files [*.{css,scss,js,json}] indent_style = space indent_size = 2 # Markdown files [*.md] trim_trailing_whitespace = false