paperless-gpt/web-app
2025-02-02 23:00:03 +01:00
..
e2e feat: consolidate E2E testing workflow into Docker build process and remove legacy workflow 2025-02-02 22:53:27 +01:00
public Publish paperless-gpt 2024-09-23 14:59:50 +02:00
src Update .gitignore and .dockerignore, enhance component classes, add E2E test setup, and configure Playwright 2025-01-27 16:41:18 +01:00
.env.test Update .gitignore and .dockerignore, enhance component classes, add E2E test setup, and configure Playwright 2025-01-27 16:41:18 +01:00
.gitignore Publish paperless-gpt 2024-09-23 14:59:50 +02:00
docker-compose.test.yml Update .gitignore and .dockerignore, enhance component classes, add E2E test setup, and configure Playwright 2025-01-27 16:41:18 +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 Update .gitignore and .dockerignore, enhance component classes, add E2E test setup, and configure Playwright 2025-01-27 16:41:18 +01:00
package.json feat: add placeholder test script in package.json 2025-02-02 23:00:03 +01:00
playwright.config.ts Update .gitignore and .dockerignore, enhance component classes, add E2E test setup, and configure Playwright 2025-01-27 16:41:18 +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,
  },
})