sourcegraph/client/client-api
Felix Kling 7363557f41
Eslint fix type imports (#54920)
This PR adds the eslint rules @typescript-eslint/consistent-type-imports and @typescript-eslint/no-import-type-side-effects. Having type imports be explicitly declared as such makes it easier for modern bundlers to strip those imports which is useful if e.g. a module is sent directly to the browser.

I added both rules as a warning because @typescript-eslint/consistent-type-exports is also a warning.
2023-08-10 21:12:31 +02:00
..
src Eslint fix type imports (#54920) 2023-08-10 21:12:31 +02:00
.eslintignore Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
.eslintrc.js Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
babel.config.js Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
BUILD.bazel build: update to Aspect CLI 5.5.2 (#53692) 2023-06-22 18:33:15 +02:00
jest.config.js Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
package.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
README.md Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
tsconfig.json Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00

Client API

Sourcegraph Client API