File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,13 @@ module.exports = {
172172 '@typescript-eslint/no-for-in-array' : 'error' ,
173173 '@typescript-eslint/no-inferrable-types' : 'error' ,
174174 '@typescript-eslint/no-misused-new' : 'error' ,
175+ '@typescript-eslint/no-misused-promises' : [
176+ 'error' ,
177+ {
178+ checksConditionals : true ,
179+ checksVoidReturn : true ,
180+ }
181+ ] ,
175182
176183 // TODO: Enable this again when I target ESM output in all my TypeScript projects
177184 // '@typescript-eslint/no-namespace': 'error',
Original file line number Diff line number Diff line change 4242 " simple"
4343 ],
4444 "devDependencies" : {
45- "@typescript-eslint/eslint-plugin" : " ^1.12 .0" ,
46- "@typescript-eslint/parser" : " ^1.12 .0" ,
45+ "@typescript-eslint/eslint-plugin" : " ^1.13 .0" ,
46+ "@typescript-eslint/parser" : " ^1.13 .0" ,
4747 "ava" : " ^2.2.0" ,
48- "eslint" : " ^5.16 .0" ,
48+ "eslint" : " ^6.1 .0" ,
4949 "temp-write" : " ^4.0.0" ,
5050 "typescript" : " ^3.5.3"
5151 },
5252 "peerDependencies" : {
53- "@typescript-eslint/eslint-plugin" : " >=1.12 .0" ,
53+ "@typescript-eslint/eslint-plugin" : " >=1.13 .0" ,
5454 "eslint" : " >=5.16.0" ,
5555 "typescript" : " >=3.5.3"
5656 }
You can’t perform that action at this time.
0 commit comments