Skip to content

Commit

Permalink
Permit array for "no-floating-promises" (SchemaStore#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxtina authored and madskristensen committed Sep 6, 2017
1 parent 592e62b commit bf58b3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/schemas/json/tslint.json
Expand Up @@ -447,7 +447,10 @@
},
"no-floating-promises": {
"description": "Promises returned by functions must be handled appropriately.",
"type": "boolean"
"type": [ "boolean", "array" ],
"items": {
"type": [ "boolean", "string" ]
}
},
"no-for-in-array": {
"description": "Disallows iterating over an array with a for-in loop",
Expand Down

0 comments on commit bf58b3a

Please sign in to comment.