Skip to content

Commit

Permalink
Add tslint and rule for catching floating promises
Browse files Browse the repository at this point in the history
  • Loading branch information
teves-castro authored and PEZ committed May 12, 2019
1 parent a39ccf0 commit 3f9fbb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -931,20 +931,21 @@
"devDependencies": {
"concurrently": "^4.1.0",
"cson-parser": "^4.0.1",
"css-loader": "^2.1.1",
"dart-sass-loader": "^1.0.0",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"sass": "^1.18.0",
"dart-sass-loader": "^1.0.0",
"file-loader": "^3.0.1",
"paredit.js": "^0.3.4",
"sass": "^1.18.0",
"shadow-cljs": "^2.8.14",
"css-loader": "^2.1.1",
"file-loader": "^3.0.1",
"style-loader": "^0.23.1",
"ts-loader": "^5.3.3",
"tslint": "^5.16.0",
"typescript": "^3.4.1",
"url-loader": "^1.1.2",
"vscode": "^1.1.33",
Expand Down
9 changes: 9 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"defaultSeverity": "error",
"extends": [],
"jsRules": {},
"rules": {
"no-floating-promises": true
},
"rulesDirectory": []
}

0 comments on commit 3f9fbb5

Please sign in to comment.