benj-dobs

Results 5 issues of benj-dobs
trafficstars

**Describe the bug** DayJS thinks that the time `'00:00:00.5'` is five milliseconds after midnight, but it should be 500 milliseconds after midnight. Reproduction: ```ts const dayjs = require('dayjs'); const dateWithoutSpecifiedTimezone...

I might have time to work on this at some point if you guys want this. I think it would be a nice little speed-up feature if there were a...

### Description - Fixes #1795 (confirmed to fix reproduction at https://github.com/radix-ui/primitives/issues/1795#issuecomment-1705308325) - Fixes #2535 I have not added tests because I couldn't make the simple reproduction case from #2535 work...

### Docs page(s) https://eslint.org/docs/latest/rules/no-unreachable#handled_by_typescript ### What documentation issue do you want to solve? The docs currently say: > It is safe to disable this rule when using TypeScript because TypeScript's...

documentation
accepted

The TypeScript compiler only enforces this check if explicitly configured to do so: https://www.typescriptlang.org/tsconfig#allowUnreachableCode (Default behaviour is just to surface an editor warning.) `no-unreachable` is disabled here: https://github.com/iamturns/eslint-config-airbnb-typescript/blob/766a2b975055bd827b72cbb538643e9103c1bdd4/lib/shared.js#L282 I think...