]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add reference to prettier in CodingStyle
authorTiago Melo <tspmelo@gmail.com>
Wed, 11 Jul 2018 16:19:09 +0000 (17:19 +0100)
committerTiago Melo <tspmelo@gmail.com>
Thu, 26 Jul 2018 12:38:12 +0000 (13:38 +0100)
Signed-off-by: Tiago Melo <tmelo@suse.com>
CodingStyle

index 1dc97eb1ffaf76ee9559dfc651e5208c5c495d11..b5e42fcf81d080b56375f740ba283536998d1304 100644 (file)
@@ -53,7 +53,7 @@ by section.
          private:
           int m_foo;
        };
-   
+
 * Naming > Constant Names:
 
    Google uses kSomeThing for constants.  We prefer SOME_THING.
@@ -155,8 +155,10 @@ For Angular code, we follow the official Angular style guide:
 
     https://angular.io/guide/styleguide
 
-To check whether your code is conformant with the style guide, we suggest
-using TSLint with Codelyzer:
+To check whether your code is conformant with the style guide, we use a
+combination of TSLint, Codelyzer and Prettier:
 
-    https://www.npmjs.com/package/codelyzer
+    https://palantir.github.io/tslint/
+    http://codelyzer.com/
+    https://prettier.io/