paperless-gpt/web-app
renovate[bot] 7995e98e96
chore(deps): update dependency @types/node to v22.13.2 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 16:52:06 +01:00
..
dist Google Document AI (#208) 2025-02-10 14:34:12 +00:00
e2e Implement pagination for modification history and E2E tests (#162) 2025-02-03 09:04:12 +01:00
public Publish paperless-gpt 2024-09-23 14:59:50 +02:00
src Add GET routes for /history and /experimental-ocr; Refactor Sidebar.tsx (#186) 2025-02-03 13:32:13 +00:00
.env.test Implement pagination for modification history and E2E tests (#162) 2025-02-03 09:04:12 +01:00
.gitignore Publish paperless-gpt 2024-09-23 14:59:50 +02:00
docker-compose.test.yml chore(deps): update postgres docker tag to v17 (#182) 2025-02-03 10:52:30 +01:00
eslint.config.js Publish paperless-gpt 2024-09-23 14:59:50 +02:00
index.html Introduce dark mode 2024-10-07 22:14:05 +02:00
package-lock.json chore(deps): update dependency @types/node to v22.13.2 (#236) 2025-02-13 16:52:06 +01:00
package.json fix(deps): update react monorepo to v19 (#184) 2025-02-03 12:33:56 +00:00
playwright.config.ts Implement pagination for modification history and E2E tests (#162) 2025-02-03 09:04:12 +01:00
postcss.config.js Publish paperless-gpt 2024-09-23 14:59:50 +02:00
README.md Publish paperless-gpt 2024-09-23 14:59:50 +02:00
tailwind.config.js Publish paperless-gpt 2024-09-23 14:59:50 +02:00
tsconfig.app.json Publish paperless-gpt 2024-09-23 14:59:50 +02:00
tsconfig.app.tsbuildinfo Google Document AI (#208) 2025-02-10 14:34:12 +00:00
tsconfig.json Publish paperless-gpt 2024-09-23 14:59:50 +02:00
tsconfig.node.json Publish paperless-gpt 2024-09-23 14:59:50 +02:00
tsconfig.node.tsbuildinfo Google Document AI (#208) 2025-02-10 14:34:12 +00:00
vite.config.ts Publish paperless-gpt 2024-09-23 14:59:50 +02:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default tseslint.config({
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})
  • Replace tseslint.configs.recommended to tseslint.configs.recommendedTypeChecked or tseslint.configs.strictTypeChecked
  • Optionally add ...tseslint.configs.stylisticTypeChecked
  • Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
  // Set the react version
  settings: { react: { version: '18.3' } },
  plugins: {
    // Add the react plugin
    react,
  },
  rules: {
    // other rules...
    // Enable its recommended rules
    ...react.configs.recommended.rules,
    ...react.configs['jsx-runtime'].rules,
  },
})