ente/packages/utils
Manav Rathi a9a810ab99 Add typescript configuration in eslint
VSCode still gives an error

We had to set the type to module to get the `import` to work. Setting .mjs
didn't work (eslint didn't recognize the file). Setting the type to module
should be (based on my current understanding) not affect us negatively since we
are exporting a TypeScript library not a bundled one, and all the other source
files apart from this are intended to be `*.ts`.

Refs:
- https://jeremyrichardson.dev/blog/saga_of_learning_exports_property_in_packagejson
- https://github.com/eslint/eslint/discussions/17021
2024-02-16 20:48:26 +05:30
..
src Funnel .tsx extensions via subfolders 2024-02-16 20:48:26 +05:30
.prettierrc.json Scaffold utils project 2024-02-16 20:47:25 +05:30
eslint.config.js Add typescript configuration in eslint 2024-02-16 20:48:26 +05:30
package.json Add typescript configuration in eslint 2024-02-16 20:48:26 +05:30
README.md Add typescript configuration in eslint 2024-02-16 20:48:26 +05:30
tsconfig.json Integrate the actual one 2024-02-16 20:47:25 +05:30

@/utils

Utility functions, types and assortments.

"Life is like a box of chocolates" - Forrest Gump

Packaging

This (internal) package exports a vanilla TypeScript library. We rely on the importing project to transpile and bundle it.