Open NoxHarmonium opened 4 years ago
TypeScript 4.1 (beta) now has a noUncheckedIndexedAccess flag so this issue can probably be solved by:
eslint-disable-next-line total-functions/no-array-subscript
commentseslint-disable-next-line total-functions/no-array-destructuring
comments
https://github.com/NoxHarmonium/peoples-choice/pull/18 introduced the eslint-plugin-total-functions linting rule but the violations were ignored for now. We need to go through each place where the linting rule was ignored and see if we can make the access safer