paperless-gpt/web-app
renovate[bot] 8ff80ad849
chore(deps): update postgres docker tag to v17 (#182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-03 10:52:30 +01: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 Implement pagination for modification history and E2E tests (#162) 2025-02-03 09:04:12 +01: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 fix(deps): update dependency react-router-dom to v7 (#183) 2025-02-03 10:52:00 +01:00
package.json fix(deps): update dependency react-router-dom to v7 (#183) 2025-02-03 10:52:00 +01: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 LLM powered Correspondents handling (#89) 2025-01-13 15:59:29 +01: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 LLM powered Correspondents handling (#89) 2025-01-13 15:59:29 +01: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,
  },
})