diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-18 01:15:58 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-18 01:15:58 +0000 |
commit | 746f54787799ee5ea8595a8730d363bfd250ffab (patch) | |
tree | 4f37de774117c5a9c38d5cb4f393e5ce9153aa0e /doc/development/new_fe_guide | |
parent | 4230b4e4d38b19a2506f5266a81dc41db8ac1165 (diff) | |
download | gitlab-ce-746f54787799ee5ea8595a8730d363bfd250ffab.tar.gz |
Fix unordered list spacing
Correct the spacing of unordered markdown lists
in docs, to maintain standards of documentation.
Diffstat (limited to 'doc/development/new_fe_guide')
-rw-r--r-- | doc/development/new_fe_guide/style/javascript.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/development/new_fe_guide/style/javascript.md b/doc/development/new_fe_guide/style/javascript.md index 3019eaa089c..802ebd12d92 100644 --- a/doc/development/new_fe_guide/style/javascript.md +++ b/doc/development/new_fe_guide/style/javascript.md @@ -71,7 +71,6 @@ class myClass { } const instance = new myClass(); instance.makeRequest(); - ``` ## Avoid classes to handle DOM events @@ -189,8 +188,8 @@ disabled due to legacy compatibility reasons but they are in the process of bein Do not disable specific ESLint rules. Due to technical debt, you may disable the following rules only if you are invoking/instantiating existing code modules. - - [no-new](http://eslint.org/docs/rules/no-new) - - [class-method-use-this](http://eslint.org/docs/rules/class-methods-use-this) +- [no-new](http://eslint.org/docs/rules/no-new) +- [class-method-use-this](http://eslint.org/docs/rules/class-methods-use-this) > Note: Disable these rules on a per line basis. This makes it easier to refactor in the future. E.g. use `eslint-disable-next-line` or `eslint-disable-line`. |