sourcegraph/client/template-parser
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 refactor: extract the new template-parser package (#29344) 2022-01-11 08:58:28 +07:00
.eslintrc.js refactor: extract the new template-parser package (#29344) 2022-01-11 08:58:28 +07:00
babel.config.js refactor: extract the new template-parser package (#29344) 2022-01-11 08:58:28 +07:00
BUILD.bazel Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00
jest.config.js refactor: extract the new template-parser package (#29344) 2022-01-11 08:58:28 +07:00
package.json web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
README.md refactor: extract the new template-parser package (#29344) 2022-01-11 08:58:28 +07:00
tsconfig.json Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00

Template Parser