tools: update to ESLint 5.11.1 and enable no-useless-catch rule
no-useless-catch
was introduced in ESLint 5.11.0. I tried to enable the rule then, but it had a bug. The bug is fixed in 5.11.1, which is the entirety of the ESLint update. This PR enables no-useless-catch
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines