Some checks failed
Lint / lint (push) Failing after 3s
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [globals](https://github.com/sindresorhus/globals) | [`^16.5.0` → `^17.0.0`](https://renovatebot.com/diffs/npm/globals/16.5.0/17.0.0) |  |  | --- ### Release Notes <details> <summary>sindresorhus/globals (globals)</summary> ### [`v17.0.0`](https://github.com/sindresorhus/globals/releases/tag/v17.0.0) [Compare Source](https://github.com/sindresorhus/globals/compare/v16.5.0...v17.0.0) ##### Breaking - Split `audioWorklet` environment from `browser` ([#​320](https://github.com/sindresorhus/globals/issues/320)) [`7bc293e`](https://github.com/sindresorhus/globals/commit/7bc293e) ##### Improvements - Update globals ([#​329](https://github.com/sindresorhus/globals/issues/329)) [`ebe1063`](https://github.com/sindresorhus/globals/commit/ebe1063) - Get all browser globals from both `chrome` and `firefox` ([#​321](https://github.com/sindresorhus/globals/issues/321)) [`59ceff8`](https://github.com/sindresorhus/globals/commit/59ceff8) - Add `bunBuiltin` environment ([#​324](https://github.com/sindresorhus/globals/issues/324)) [`1bc6e3b`](https://github.com/sindresorhus/globals/commit/1bc6e3b) - Add `denoBuiltin` environment ([#​324](https://github.com/sindresorhus/globals/issues/324)) [`1bc6e3b`](https://github.com/sindresorhus/globals/commit/1bc6e3b) - Add `paintWorklet` environment ([#​323](https://github.com/sindresorhus/globals/issues/323)) [`4b78f56`](https://github.com/sindresorhus/globals/commit/4b78f56) - Add `sharedWorker` environment ([#​322](https://github.com/sindresorhus/globals/issues/322)) [`4a02a85`](https://github.com/sindresorhus/globals/commit/4a02a85) *** </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4yIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMiIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://git.valverde.cloud/Thilawyn/effect-fc/pulls/30 Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud> Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud>
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:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
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
parserOptionsproperty like this:
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
- Replace
tseslint.configs.recommendedtotseslint.configs.recommendedTypeCheckedortseslint.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,
},
})