Bugzilla – Attachment 31070 Details for
Bug 12545
Add EditorConfig file to the source tree
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12545: Add EditorConfig.org file to the source tree
Bug-12545-Add-EditorConfigorg-file-to-the-source-t.patch (text/plain), 1.34 KB, created by
Jonathan Druart
on 2014-08-22 10:03:40 UTC
(
hide
)
Description:
Bug 12545: Add EditorConfig.org file to the source tree
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-08-22 10:03:40 UTC
Size:
1.34 KB
patch
obsolete
>From 7c9dae0f3a7c4a96490fba6e5baa0114c47702cd Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Wed, 9 Jul 2014 11:23:41 -0300 >Subject: [PATCH] Bug 12545: Add EditorConfig.org file to the source tree > >This patch adds a .editorconfig file to the source tree, that >enforces some of our coding guidelines. > >Some editors try to detect the desired configurations from the currently >opened file. As we have tons of old code that doesn't follow our current >coding guidelines, this can lead to unintended QA problmes. > >To test: >- Apply the patch >- Verify the .editorconfig file is in the top-level directory >- See the .editorconfig file expresses our coding guidelines > >Regards >To+ > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > .editorconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > create mode 100644 .editorconfig > >diff --git a/.editorconfig b/.editorconfig >new file mode 100644 >index 0000000..95c4e45 >--- /dev/null >+++ b/.editorconfig >@@ -0,0 +1,12 @@ >+# top-most EditorConfig file (http://editorconfig.org) >+root = true >+ >+[*] >+# Unix-style newlines with a newline ending every file >+end_of_line = lf >+insert_final_newline = true >+# 4 space indentation >+indent_style = space >+indent_size = 4 >+# New files charset should be UTF-8 >+charset = utf-8 >-- >2.0.0.rc2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12545
:
29587
|
30263
| 31070