From 93a8ea6f385c26b73200c7a1a2b79e237f4430db Mon Sep 17 00:00:00 2001 From: Ira Hopkinson Date: Tue, 3 Oct 2017 14:30:52 +0700 Subject: [PATCH] add tslint config --- tslint.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tslint.json diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000000..1fa7314183 --- /dev/null +++ b/tslint.json @@ -0,0 +1,19 @@ +{ + "extends": "tslint:recommended", + "rules": { + "quotemark": [true, "single"], + "trailing-comma": [true, { "multiline": "never", "singline": "never" }], + "arrow-parens": [true, "ban-single-arg-parens"], + "member-access": [true, "no-public"], + "object-literal-sort-keys": false, + "no-empty": false, + "prefer-const": { "severity": "warning" }, + "member-ordering": [false], + "curly": [true, "ignore-same-line"], + "interface-name": [true, "never-prefix"], + "max-classes-per-file": [false], + "radix": { "severity": "warning" }, + "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"], + "no-console": false + } +}