aboutsummaryrefslogtreecommitdiff
path: root/tslint.json
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-28 01:10:54 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-28 13:46:36 +0200
commit08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c (patch)
tree9a55a5734718e7c278ccb24733425184fb8cea34 /tslint.json
parent7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027 (diff)
downloadwallet-core-08bd3dc0e8a3c2370e4e8abbaa241eaafc144f4c.tar.xz
add linting rules and fix them
Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json21
1 files changed, 20 insertions, 1 deletions
diff --git a/tslint.json b/tslint.json
index 46a2004c1..0e9f36f33 100644
--- a/tslint.json
+++ b/tslint.json
@@ -8,7 +8,26 @@
"max-line-length": {
"options": [120]
},
- "space-before-function-paren": [true, {"named": "never", "anonymous": "always"}]
+ "space-before-function-paren": [true, {"named": "never", "anonymous": "always"}],
+ "no-console": [false],
+ "no-consecutive-blank-lines": [true, 2],
+ "forin": false,
+ "member-access": false,
+ "variable-name": false,
+ "interface-name": false,
+ "max-classes-per-file": false,
+ "ordered-imports": [true,
+ {
+ "import-sources-order": "lowercase-last",
+ "named-imports-order": "lowercase-last"
+ }
+ ],
+ "no-namespace": false,
+ "member-ordering": false,
+ "array-type": [true, "array-simple"],
+ "class-name": false,
+ "no-bitwise": false,
+ "file-header": [true, "GNU General Public License"]
},
"rulesDirectory": []
}