Last active
January 16, 2020 01:47
-
-
Save salcode/18eaa8cfa3b097da2f58b582197906d7 to your computer and use it in GitHub Desktop.
PHP PSR-2 EditorConfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig helps keep your project formatting consistent. | |
# See https://EditorConfig.org | |
# | |
# PHP PSR-2 Coding Standards | |
# http://www.php-fig.org/psr/psr-2/ | |
# | |
# Author: Sal Ferrarello (@salcode) | |
# | |
# You can download this file directly | |
# to your project from the command-line with | |
# curl -O https://gist.githubusercontent.com/salcode/18eaa8cfa3b097da2f58b582197906d7/raw/.editorconfig | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
indent_style = space | |
indent_size = 2 | |
[*.php] | |
indent_size = 4 | |
[*.md] | |
trim_trailing_whitespace = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment