16 Commits

Author SHA1 Message Date
Jack Kavanagh
dfcb8ebace add lint warning about node modules (#9439)
* add lint warning about node modules

* eliminate hash function from test case

* use bridge for read file

* use main bridges for fs

* add header

* fix types

* remove node:url

* path bridge

* multipart bridge

* clean up eslint file

* add naive warning count in order to see impact
2025-12-08 14:27:48 +00:00
Bingbing
1d625ba1c9 refactor: extract insomnia-api (#9093) 2025-12-08 03:57:47 +00:00
Jack Kavanagh
c62a114d28 Chore: eslint-autofixes (#9421)
* sort and remove a few

* autofix 1

* remove useless undefined

* fix types

* number seperators

* native coercion

* utf8

* explicit number

* dom node dataset

* explicit unused catch

* array find

* fix types

* prefer negative index

* from code point

* fix error layout

* prefer ternary

* explicit length

* useless case

* named functions

* utf8

* import style

* default parameters

* no instance of

* clone

* use regex test

* single call

* prettier

* fix types

* Revert "use regex test"

This reverts commit 8fb9e991ff.
2025-11-27 09:36:52 +00:00
Bingbing
2cff33f88c chore: enable react-hooks/purity rule (#9430) 2025-11-27 02:54:52 +00:00
Jack Kavanagh
14e44f98a3 Chore/bump-linting-pkgs (#9409)
* bump linting pkgs

* add temporary ignores

* fix test

* autofix
2025-11-25 16:49:03 +00:00
Jack Kavanagh
2d64f5b0a1 chore: normalise filenames (#9399)
* add rule

* kebab case

* kebab case

* kebab case

* fix import path

* fix snapshot
2025-11-19 11:00:54 +00:00
Ryan Willis
d798be87dc feat(inso): support request timeouts (#9363)
* feat: support request timeouts in inso

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2025-11-18 10:50:19 -07:00
Jack Kavanagh
593a05bea7 chore: fix all playwright warnings and cut CI time by 10% (#9071)
* speed up pre req tests

* remove timeout and move loop

* fix warning

* fixed all warnings

* fix warnings

* fix all lint warnings

* fix more warnings
2025-09-03 11:28:59 +00:00
Jack Kavanagh
3ac3965b45 *.min.js and entry.* naming conventions (#8968)
* use min.js convention

* rename to entry

* rename main.ts

* fix electorn builder config

* fix types

* fix hidden window entry

* rename esbuild.main.ts to entrypoints
2025-08-13 11:05:56 +00:00
James Gatz
aa838bf39c chore(Architecture): react router spa mode (#8902)
* first pass

fix tests

move all react things in dev

try-package

build stuff

use http protocol instead of file

handle refresh

fix tests and routeloaderdata apths

fix npm run dev

fix sorts

fix hidden browser window

cleanup files

Typesafe /auth/* routes

typesafe commands route

git-credentials typesafe routes

import typesafe routes

fix types

fix hidden browser window

invite and collaborators typesafe routes

fix types

remove workarounds

fix dashboard test

more types

git typesafe routes

fix runner test

typesafe scratchpad navigation

fix remove unused project route

fix test routes

add space

request typesafe routes

git credentials typescript conspiracy

git typesafe routes

typecheck

debug bundles for inso

fix test

fix request group tab

workspace typesafe routes

feedback

All routes use generated types

Add typed fetchers to actions and loader

Use typed fetchers in the app

move git actions to the root

* fix react-use usage

update import source field

Spawning npm fails the build

Add ~ module resolution to vitest

add initialEntry functionality

fix update environment name requirement

fix settings patch

use loader for fetching the vault key and fix process.env.PLAYWRIGHT issue

fix missing type

Centralize useRouteLoaderData to routes

Use environment for vitest tests that run browser code

Update remaining fetchers to typesafe versions

remove unused fetcher and add callback to sync

Wrap load/submit in useCallback to keep them stable between re-renders

Update deps lists with stable submit functions

fix lint issue

* fix ts issues

* Add toaster to root

* Use shell for running scripts with spawn on Windows

* Move renderer bundling out of the build script

* Fix request-pane test flakiness

* update the url we use for internal purposes

* Increase timeout for release workflow

* fix flaky bundling test

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-08-08 11:10:28 +02:00
Jack Kavanagh
5543a6e08f tooling: unicorn eslint (#8743)
* set a few unicorn rules

* autofixes

* fix types

* more minor fixes

* more autofixes

* more normalisation

* prettier run
2025-05-27 09:47:46 +00:00
Jack Kavanagh
a5004a4df5 fix playwright lint warnings (#8620)
* pw autofix

* fix oauth test

* merge tests

* merge test

* merge test

* merge tabs

* merge after response
2025-04-15 22:53:32 +02:00
Jack Kavanagh
a6cfebec3e Add-playwright-linting-to-smoke-tests (#8614)
* add smoke lint

* add pw lint

* configure

* autofix

* fixed errors

* fix lint
2025-04-15 17:04:31 +02:00
Jack Kavanagh
b30978e33b Full-prettier-run (#8605)
* prettier

* remove markdown linting
2025-04-11 13:37:19 +02:00
Jack Kavanagh
4084bcded9 More-eslint-fixes (#8593)
* forced type import

* add linting to sdk

* insomnia testing
2025-04-08 17:28:59 +02:00
Jack Kavanagh
b429feb2f2 Eslint-v9 (#8578)
* autofix recommended

* first pass

* autofix

* fixed lint errors

* pin ts
2025-04-03 16:15:03 +00:00