aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 05:49:54 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:37 +0800
commit3d5b6ec110e32f670920a88939a250479651bb5a (patch)
tree8afae4a05f5a4df8652f97208ea8da9524fb89f6
parentdb2917b01caa49d74c9ebcae2d36e9c3946b94d8 (diff)
downloaddexon-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.json7
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,