sourcegraph/client/common
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 Extract util/errors.ts into a new common package (#29040) 2021-12-24 17:50:53 +07:00
.eslintrc.js Extract util/errors.ts into a new common package (#29040) 2021-12-24 17:50:53 +07:00
babel.config.js Extract util/errors.ts into a new common package (#29040) 2021-12-24 17:50:53 +07:00
BUILD.bazel build: update to Aspect CLI 5.5.2 (#53692) 2023-06-22 18:33:15 +02:00
jest.config.js Extract util/errors.ts into a new common package (#29040) 2021-12-24 17:50:53 +07:00
OWNERS Update FPT code owners ping (#44545) 2022-11-17 07:21:49 -05:00
package.json web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
README.md Extract util/errors.ts into a new common package (#29040) 2021-12-24 17:50:53 +07:00
tsconfig.json Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00

Common utilities

Generic utilities without any specific domain. This package should not depend on any other Sourcegraph monorepo package.