com web/bugs: Add .editorconfig file: .editorconfig

From: Date: Mon, 10 Dec 2018 01:08:58 +0000
Subject: com web/bugs: Add .editorconfig file: .editorconfig
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-27521@lists.php.net to get a copy of this message
Commit: be3c259ecaae28db43a3a8c30338a876f112e36e Author: Peter Kokot <peterkokot@gmail.com> Mon, 10 Dec 2018 02:08:58 +0100 Parents: 3f4ad27d0ebacbd2454b5107cc8017acc66ce9ce Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=be3c259ecaae28db43a3a8c30338a876f112e36e Log: Add .editorconfig file This patch adds initial EditorConfig [1] file with sensible defaults specific for future PHP code, HTML templates, and possible other file types. It helps formating code and new files in editors and IDEs that utilize EditorConfig settings. Current state of EditorConfig provides setting identation style and level, new lines types, files encodings, and similar basic files and code configurations. [1] https://editorconfig.org Changed paths: A .editorconfig Diff: diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ada43e2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +# https://editorconfig.org/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +tab_width = 4 +trim_trailing_whitespace = true +insert_final_newline = true

« previous php.webmaster (#27521) next »