ente/web/packages/build-config
Manav Rathi 29550317f7
Enable the jsx-runtime plugin for vite's ESLint
This prevents it complaining about a missing React import.

Enabling this is recommended by the vite starter itself:

> Install
  [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and
  add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends`
  list
2024-04-04 14:46:41 +05:30
..
.eslintrc.js Move into web/ 2024-03-01 12:21:07 +05:30
eslintrc-base.js Tinker 2024-04-03 13:32:05 +05:30
eslintrc-next.js Restructure eslint config 2024-04-02 20:44:57 +05:30
eslintrc-react.js Tinker 2024-04-03 13:32:05 +05:30
eslintrc-vite.js Enable the jsx-runtime plugin for vite's ESLint 2024-04-04 14:46:41 +05:30
package.json Remove middleman package, to get it to compile 2024-04-04 11:36:20 +05:30
README.md prettier markdown 2024-04-03 13:39:44 +05:30
tsconfig-typecheck.json Convert payments app to use Vite - Part 1 2024-04-04 11:10:34 +05:30
tsconfig-vite.json Remove unused 404 handler 2024-04-04 13:58:30 +05:30
tsconfig-vite.node.json Convert payments app to use Vite - Part 1 2024-04-04 11:10:34 +05:30

@/build-config

Build time configuration files. This can be thought of as a devDependency that exports various config files that our packages use at build time.

Packaging

This is not a TypeScript package, nor is it linted. It is not meant to be transpiled, it just exports static files that can be included verbatim.

Debugging

Too see what tsc is seeing (say when it is trying to type-check @/utils), use yarn workspace @/utils tsc --showConfig.

Similarly, to verify what ESLint is trying to do, use yarn workspace @/utils eslint --debug .

If the issue is in VSCode, open the output window of the corresponding plugin, it might be telling us what's going wrong there. In particular, when changing the settings here, you might need to "Developer: Reload Window" in VSCode to get it to pick up the changes.