From: Tiago Melo Date: Wed, 11 Jul 2018 16:19:09 +0000 (+0100) Subject: mgr/dashboard: Add reference to prettier in CodingStyle X-Git-Tag: v14.0.1~754^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2aa869b368ad4ce39c1ef925513a899001522b14;p=ceph.git mgr/dashboard: Add reference to prettier in CodingStyle Signed-off-by: Tiago Melo --- diff --git a/CodingStyle b/CodingStyle index 1dc97eb1ffaf7..b5e42fcf81d08 100644 --- a/CodingStyle +++ b/CodingStyle @@ -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/