NAM buat APJATEL
Go to file
rheiga19 3c68cdc9a5 fixing kubernetes 2025-03-27 12:56:49 +07:00
deploy fixing kubernetes 2025-03-27 12:56:49 +07:00
public wip: refactor design 2025-03-25 15:54:54 +07:00
src feat: crud devices (wip: notif success) 2025-03-26 16:08:28 +07:00
.env.example wip: refactor design 2025-03-25 15:54:54 +07:00
.gitignore wip: refactor design 2025-03-25 15:54:54 +07:00
Jenkinsfile fixing:deployment 2025-03-26 22:17:18 +07:00
README.md wip: refactor design 2025-03-25 15:54:54 +07:00
eslint.config.js wip: refactor design 2025-03-25 15:54:54 +07:00
index.html wip: refactor design 2025-03-25 15:54:54 +07:00
package.json feat: crud devices (wip: notif success) 2025-03-26 16:08:28 +07:00
tsconfig.app.json fixing deployment build 2025-03-27 12:24:42 +07:00
tsconfig.json wip: refactor design 2025-03-25 15:54:54 +07:00
tsconfig.node.json wip: refactor design 2025-03-25 15:54:54 +07:00
vite.config.ts wip: refactor design 2025-03-25 15:54:54 +07: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:

export default tseslint.config({
  extends: [
    // Remove ...tseslint.configs.recommended and replace with this
    ...tseslint.configs.recommendedTypeChecked,
    // Alternatively, use this for stricter rules
    ...tseslint.configs.strictTypeChecked,
    // Optionally, add this for stylistic rules
    ...tseslint.configs.stylisticTypeChecked,
  ],
  languageOptions: {
    // other options...
    parserOptions: {
      project: ['./tsconfig.node.json', './tsconfig.app.json'],
      tsconfigRootDir: import.meta.dirname,
    },
  },
})

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config({
  plugins: {
    // Add the react-x and react-dom plugins
    'react-x': reactX,
    'react-dom': reactDom,
  },
  rules: {
    // other rules...
    // Enable its recommended typescript rules
    ...reactX.configs['recommended-typescript'].rules,
    ...reactDom.configs.recommended.rules,
  },
})