Bugzilla – Attachment 100280 Details for
Bug 24774
Specify 2 space indentation for JSON files in .editorconfig
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24774: Set JSON indentation of 2 spaces in .editorconfig
Bug-24774-Set-JSON-indentation-of-2-spaces-in-edit.patch (text/plain), 782 bytes, created by
Owen Leonard
on 2020-03-06 16:48:45 UTC
(
hide
)
Description:
Bug 24774: Set JSON indentation of 2 spaces in .editorconfig
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-03-06 16:48:45 UTC
Size:
782 bytes
patch
obsolete
>From c38b659bf1f0fe3b7a8cfc948cb1cfd0135fdaca Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Mon, 2 Mar 2020 09:18:26 +0000 >Subject: [PATCH] Bug 24774: Set JSON indentation of 2 spaces in .editorconfig > >To test: >1. Start an editor that supports .editorconfig >2. Open or create a JSON file >3. Observe identation is set to 2 spaces by default > >Sponsored-by: Hypernova Oy > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .editorconfig | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/.editorconfig b/.editorconfig >index 95c4e456ab2..569457ec6a9 100644 >--- a/.editorconfig >+++ b/.editorconfig >@@ -10,3 +10,6 @@ indent_style = space > indent_size = 4 > # New files charset should be UTF-8 > charset = utf-8 >+ >+[*.json] >+indent_size = 2 >-- >2.11.0
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 24774
:
99860
|
100280
|
100826