Files
op-pedal/vite
dependabot[bot] a675d91863 Bump rollup in /vite in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the /vite directory: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 4.40.2 to 4.59.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.40.2...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 20:16:40 +00:00
..
2025-08-01 18:24:54 -04:00
2025-02-19 08:58:15 -05:00
2025-02-20 08:19:09 -05:00
2025-09-01 15:59:29 -04:00
2025-02-19 08:58:15 -05:00
2025-09-03 12:40:21 -04:00
2025-02-19 08:58:15 -05:00
2025-02-19 08:58:15 -05:00
2025-02-19 08:58:15 -05:00
2025-02-19 08:58:15 -05:00
2025-07-07 02:30:30 -04: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,
  },
})