# This file is for unifying the coding style for different editors and IDEs # editorconfig.org # WordPress Coding Standards # https://make.wordpress.org/core/handbook/coding-standards/ # Based from https://github.com/ntwb/wp.editorconfig/blob/master/.editorconfig # # Need an IDE plugin? http://editorconfig.org/#download root = true [*] charset = utf-8 insert_final_newline = true indent_style = space indent_size = 2 trim_trailing_whitespace = true [*.{php,js,css,scss}] end_of_line = lf indent_style = tab indent_size = 4 [*.txt,wp-config-sample.php] end_of_line = crlf [*.md] trim_trailing_whitespace = false