aboutsummaryrefslogtreecommitdiff
path: root/tslint.json
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-28 16:27:34 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-28 21:55:16 +0200
commite7fa87bcc0052e1e99c6894e7e27a122374956b3 (patch)
tree56c243d08ae357533ebdb4fbf41211aa0fc914ce /tslint.json
parent08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c (diff)
downloadwallet-core-e7fa87bcc0052e1e99c6894e7e27a122374956b3.tar.xz
documentation and tslint settings to check for docs
Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json30
1 files changed, 29 insertions, 1 deletions
diff --git a/tslint.json b/tslint.json
index 0e9f36f33..31ceb95a0 100644
--- a/tslint.json
+++ b/tslint.json
@@ -27,7 +27,35 @@
"array-type": [true, "array-simple"],
"class-name": false,
"no-bitwise": false,
- "file-header": [true, "GNU General Public License"]
+ "file-header": [true, "GNU General Public License"],
+ "completed-docs": [true, {
+ "methods": {
+ "privacies": ["public"],
+ "locations": "all"
+ },
+ "properties": {
+ "privacies": ["public"],
+ "locations": ["all"]
+ },
+ "functions": {
+ "visibilities": ["exported"]
+ },
+ "interfaces": {
+ "visibilities": ["exported"]
+ },
+ "types": {
+ "visibilities": ["exported"]
+ },
+ "enums": {
+ "visibilities": ["exported"]
+ },
+ "classes": {
+ "visibilities": ["exported"]
+ },
+ "namespaces": {
+ "visibilities": ["exported"]
+ }
+ }]
},
"rulesDirectory": []
}