summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia Tepluhina <ntepluhina@gitlab.com>2018-12-07 09:37:52 +0000
committerNatalia Tepluhina <ntepluhina@gitlab.com>2018-12-07 09:37:52 +0000
commit0fdb03ee16f0ccd7f122a4f0af23ee628d1de3c9 (patch)
tree4ff0e848a5d7e55de62da40e751bc2f58972fe79
parente76559cc69bf53b0ad3317039267019867a826fe (diff)
downloadgitlab-ce-patch-33.tar.gz
Update style_guide_js.md: add an empty line before ES module syntax code snippetpatch-33
-rw-r--r--doc/development/fe_guide/style_guide_js.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/development/fe_guide/style_guide_js.md b/doc/development/fe_guide/style_guide_js.md
index 1e0529262ad..2960b9794a2 100644
--- a/doc/development/fe_guide/style_guide_js.md
+++ b/doc/development/fe_guide/style_guide_js.md
@@ -95,6 +95,7 @@ followed by any global declarations, then a blank newline prior to any imports o
#### Modules, Imports, and Exports
1. Use ES module syntax to import modules
+
```javascript
// bad
const SomeClass = require('some_class');