aboutsummaryrefslogtreecommitdiff
path: root/tslint.json
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-04-04 01:30:01 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-04-04 01:30:01 -0400
commitdc2a998acdae1545c8e7bf9ee9f4ca98bba82ac9 (patch)
tree4f1c39d66dc9a3a653ec717c502854f60029add3 /tslint.json
parentc10b9ca57e13c8de8b35f01e6c6ce82706319e4d (diff)
Started adding linting
Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/tslint.json b/tslint.json
new file mode 100644
index 000000000..54876916e
--- /dev/null
+++ b/tslint.json
@@ -0,0 +1,56 @@
+{
+ "rules": {
+ // "no-non-null-assertion": true,
+ "no-return-await": true,
+ "no-string-literal": true,
+ // "no-var-keyword": true,
+ // "no-var-requires": true,
+ "prefer-object-spread": true,
+ "prefer-for-of": true,
+ "no-unnecessary-type-assertion": true,
+ // "no-void-expression": [
+ // true,
+ // "ignore-arrow-function-shorthand"
+ // ],
+ "triple-equals": true,
+ // "prefer-const": true,
+ "no-unnecessary-callback-wrapper": true,
+ // "align": [
+ // true,
+ // "parameters",
+ // "arguments",
+ // "statements",
+ // "members",
+ // "elements"
+ // ],
+ "class-name": true,
+ "arrow-return-shorthand": true,
+ // "object-literal-shorthand": true,
+ // "object-literal-sort-keys": true,
+ // "semicolon": [
+ // true,
+ // "always"
+ // ],
+ // "curly": [
+ // true,
+ // "ignore-same-line"
+ // ],
+ // "quotemark": [
+ // true,
+ // "double",
+ // "jsx-double",
+ // "avoid-template",
+ // "avoid-escape"
+ // ],
+ "no-tautology-expression": true,
+ "unnecessary-constructor": true
+ // "trailing-comma": [
+ // true,
+ // {
+ // "multiline": "always",
+ // "singleline": "never"
+ // }
+ // ],
+ // "ordered-imports": true
+ }
+} \ No newline at end of file