aboutsummaryrefslogtreecommitdiff
path: root/tslint.json
diff options
context:
space:
mode:
Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/tslint.json b/tslint.json
new file mode 100644
index 0000000..d6fcfd2
--- /dev/null
+++ b/tslint.json
@@ -0,0 +1,30 @@
+{
+ "rules": {
+ "class-name": true,
+ "comment-format": [true, "check-space"],
+ "indent": [true, "spaces"],
+ "no-duplicate-variable": true,
+ "no-eval": true,
+ "no-internal-module": true,
+ "no-trailing-whitespace": true,
+ "no-var-keyword": true,
+ "one-line": [true, "check-open-brace", "check-whitespace"],
+ "semicolon": false,
+ "triple-equals": [true, "allow-null-check"],
+ "typedef-whitespace": [true, {
+ "call-signature": "nospace",
+ "index-signature": "nospace",
+ "parameter": "nospace",
+ "property-declaration": "nospace",
+ "variable-declaration": "nospace"
+ }],
+ "variable-name": [true, "ban-keywords"],
+ "whitespace": [true,
+ "check-branch",
+ "check-decl",
+ "check-operator",
+ "check-separator",
+ "check-type"
+ ]
+ }
+}