Go to file
Renovate Bot 22ef26d95d
renovate/artifacts Artifact file update failure
Update dependency @typescript-eslint/parser to v8
2024-11-29 21:02:42 +00:00
.gitea/workflows change actions 2024-11-29 19:37:51 +01:00
src fmt 2024-11-29 19:35:08 +01:00
test/unit fmt 2024-11-29 19:35:08 +01:00
.dockerignore a 2024-04-21 10:47:31 +02:00
.eslintrc.cjs fmt 2024-04-27 18:17:56 +02:00
.gitignore First commit generated with `bun vite create` 2024-01-26 18:20:53 +01:00
Dockerfile Fix: issue where backend is being called twice 2024-09-06 23:01:29 +02:00
README.md First commit generated with `bun vite create` 2024-01-26 18:20:53 +01:00
bun.lockb uodate deps 2024-11-29 19:40:16 +01:00
bunfig.toml imporve dockerfie form layer caching 2024-04-20 14:08:03 +02:00
compose.yaml implemented basic UI with hardcoded urls and credentials 2024-04-21 14:11:55 +02:00
happydom.ts Added gelbooru image endpoint and testing 2024-03-03 12:08:12 +01:00
index.html delete favicon and change tittle 2024-04-27 18:23:40 +02:00
init-mongo.js fmt 2024-04-27 18:17:56 +02:00
package.json Update dependency @typescript-eslint/parser to v8 2024-11-29 21:02:42 +00:00
renovate.json Add renovate.json 2024-11-23 11:42:56 +00:00
tsconfig.json First commit generated with `bun vite create` 2024-01-26 18:20:53 +01:00
tsconfig.node.json First commit generated with `bun vite create` 2024-01-26 18:20:53 +01:00
vite.config.ts fmt 2024-04-27 18:17:56 +02:00
yarn.lock Update dependency @typescript-eslint/parser to v8 2024-11-29 21:02:42 +00:00

README.md

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 {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list