diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-23 05:49:54 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-24 05:13:37 +0800 |
commit | 3d5b6ec110e32f670920a88939a250479651bb5a (patch) | |
tree | 8afae4a05f5a4df8652f97208ea8da9524fb89f6 | |
parent | db2917b01caa49d74c9ebcae2d36e9c3946b94d8 (diff) | |
download | dexon-sol-tools-3d5b6ec110e32f670920a88939a250479651bb5a.tar.gz dexon-sol-tools-3d5b6ec110e32f670920a88939a250479651bb5a.tar.zst dexon-sol-tools-3d5b6ec110e32f670920a88939a250479651bb5a.zip |
Enforce comments on public methods
-rw-r--r-- | packages/tslint-config/tslint.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/tslint-config/tslint.json b/packages/tslint-config/tslint.json index 11b0e4d2e..0921a3954 100644 --- a/packages/tslint-config/tslint.json +++ b/packages/tslint-config/tslint.json @@ -11,6 +11,13 @@ "binary-expression-operand-order": true, "callable-types": true, "class-name": true, + "completed-docs": [ + true, + { + "functions": {"visibilities": ["exported"]}, + "methods": {"locations": "instance", "privacies": ["public", "protected"]} + } + ], "curly": true, "eofline": true, "encoding": true, |