No description
Find a file
shept c6a64db982
Some checks failed
docker-publish / build (push) Has been cancelled
Add GitHub Actions workflow for Docker image publishing
2025-10-29 21:56:37 +05:00
.docker/app/nginx Add Docker setup for Nginx serving built Node app 2025-10-29 21:47:59 +05:00
.github/workflows Add GitHub Actions workflow for Docker image publishing 2025-10-29 21:56:37 +05:00
public initial commit 2024-10-30 02:40:19 +05:00
src add opportunity to see how much time till shift ends 2025-07-13 18:35:56 +05:00
.gitignore initial commit 2024-10-30 02:40:19 +05:00
Dockerfile Add Docker setup for Nginx serving built Node app 2025-10-29 21:47:59 +05:00
eslint.config.js initial commit 2024-10-30 02:40:19 +05:00
index.html - added current time 2025-02-03 17:21:26 +05:00
package-lock.json initial commit 2024-10-30 02:40:19 +05:00
package.json add opportunity to see how much time till shift ends 2025-07-13 18:31:21 +05:00
README.md initial commit 2024-10-30 02:40:19 +05:00
tsconfig.app.json initial commit 2024-10-30 02:40:19 +05:00
tsconfig.json initial commit 2024-10-30 02:40:19 +05:00
tsconfig.node.json initial commit 2024-10-30 02:40:19 +05:00
vite.config.ts initial commit 2024-10-30 02:40:19 +05: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,
  },
})