Thanks to visit codestin.com
Credit goes to github.com

Skip to content
View AhmadSubadri's full-sized avatar
🤐
Remind your self
🤐
Remind your self

Block or report AhmadSubadri

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AhmadSubadri/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:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // 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,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

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 defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

Popular repositories Loading

  1. SISTA-UMBY SISTA-UMBY Public

    SISTEM INFORMASI MANAJEMEN TUGAS AKHIR DAN DETEKSI PLAGIARISME PADA JUDUL TUGAS AKHIR MENGGUNAKAN METODE RABIN KARP

    PHP 4

  2. SIPES SIPES Public

    Seminar attendance system uses the QR Code

    HTML 3

  3. laravel-codegen laravel-codegen Public

    Laravel CodeGen is an automated generator tool for Laravel that allows you to easily create migration files and models from SQL commands. Perfect for accelerating Laravel application development an…

    PHP 3 1

  4. happyshop_212 happyshop_212 Public

    e commerce supermarket using Codeigniter

    JavaScript 2

  5. Car_Rental Car_Rental Public

    car rental websites using Codeigniter 3

    PHP 2

  6. twitter-scraper twitter-scraper Public

    Twitter scrap using jupyter notebook and python 3

    Jupyter Notebook 2