aboutsummaryrefslogtreecommitdiff
path: root/tslint.json
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-12-03 01:46:36 -0500
committerSam Wilkins <samwilkins333@gmail.com>2019-12-03 01:46:36 -0500
commitef94ad7df2a087141ddb8d347d3e3c484ff7609b (patch)
treea7c16be04ff4050da1ff03e02f59df6da4f5f7e2 /tslint.json
parent62c888ad25c5580441eaf947a1a0f1638939b868 (diff)
const linter rule and restored google docs push, fixed routing
Diffstat (limited to 'tslint.json')
-rw-r--r--tslint.json58
1 files changed, 32 insertions, 26 deletions
diff --git a/tslint.json b/tslint.json
index 76d28b375..0056f4266 100644
--- a/tslint.json
+++ b/tslint.json
@@ -1,32 +1,18 @@
{
+ "linterOptions": {
+ "exclude": ["./src/client/northstar/**", "**/*.js"]
+ },
"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,
+ "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"
@@ -35,13 +21,6 @@
true,
"ignore-same-line"
],
- // "quotemark": [
- // true,
- // "double",
- // "jsx-double",
- // "avoid-template",
- // "avoid-escape"
- // ],
"no-tautology-expression": true,
"unnecessary-constructor": true
// "trailing-comma": [
@@ -52,6 +31,33 @@
// }
// ],
// "ordered-imports": true
+ // "quotemark": [
+ // true,
+ // "double",
+ // "jsx-double",
+ // "avoid-template",
+ // "avoid-escape"
+ // ],
+ // "object-literal-shorthand": true,
+ // "object-literal-sort-keys": true,
+ // "align": [
+ // true,
+ // "parameters",
+ // "arguments",
+ // "statements",
+ // "members",
+ // "elements"
+ // ],
+ // "no-void-expression": [
+ // true,
+ // "ignore-arrow-function-shorthand"
+ // ],
+ // "no-non-null-assertion": true,
+ // "no-var-keyword": true,
+ // "no-var-requires": true,
},
- "defaultSeverity": "warning"
+ "defaultSeverity": "warning",
+ "jsRules": {
+
+ }
} \ No newline at end of file