From 13b8b1b7b8cabe8bada5f655716fce10c96f8cd5 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Mon, 17 May 2021 13:32:06 +0100 Subject: [PATCH] Update JavaScript guidelines to say two space indent --- docs/contributing/javascript_guidelines.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/javascript_guidelines.rst b/docs/contributing/javascript_guidelines.rst index a68b41b952..b83457d79c 100644 --- a/docs/contributing/javascript_guidelines.rst +++ b/docs/contributing/javascript_guidelines.rst @@ -3,7 +3,7 @@ JavaScript coding guidelines Write JavaScript according to the `Airbnb Styleguide `_, with some exceptions: -- Use soft-tabs with a four space indent. Spaces are the only way to +- Use soft-tabs with a two space indent. Spaces are the only way to guarantee code renders the same in any person's environment. - We accept ``snake_case`` in object properties, such as ``ajaxResponse.page_title``, however camelCase or UPPER_CASE should be used