browsertrix/frontend/src/utils
Emma Segal-Grossman d1156b0145
enable a few more useful eslint suggestions & correct some more types (#1517)
## Changes

Implements suggestions from
https://typescript-eslint.io/blog/consistent-type-imports-and-exports-why-and-how/
and
https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful,
along with a couple more auto-fixable consistency rules.

Of note:
- Functions that return a promise are marked as async
- Suggestions now appear for where to simplify boolean checks,
non-nullish assertions, and optional chaining
2024-02-09 16:14:08 -08:00
..
api.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
APIRouter.test.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
APIRouter.ts ESLint improvements & Typescript upgrade (#1501) 2024-01-31 14:42:06 -05:00
auth.test.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
auth.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
AuthService.test.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
AuthService.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
crawler.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
cron.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
css.ts Paginate Workflows and refactor to use server-side queries (#1078) 2023-08-22 16:29:17 -07:00
executionTimeFormatter.test.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
executionTimeFormatter.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
form.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
LiteElement.ts ESLint improvements & Typescript upgrade (#1501) 2024-01-31 14:42:06 -05:00
localization.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
number.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
orgs.ts Organize components into folders by function (#1411) 2023-11-29 14:12:29 -05:00
OrgService.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
PasswordService.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
persist.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
polyfills.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
state.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
string.ts Organize components into folders by function (#1411) 2023-11-29 14:12:29 -05:00
tailwind.ts Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00