-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to React 19 and lots of other dependencies (#48)
* Update some non-breaking dependencies and bump to node 22 * Update deploy action too * Update vite-plugin-svgr * Upgrade to ESLint 9 and latest TypeScript * Upgrade to prettier 3 * Remove Reach UI and replace with Radix UI Tabs * Upgrade to latest React and Vite * Run npm update * Open exclusions tab in spec
- Loading branch information
1 parent
a769a9f
commit 732bed9
Showing
22 changed files
with
4,345 additions
and
5,740 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import eslint from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
import reactPlugin from 'eslint-plugin-react'; | ||
import reactHooks from 'eslint-plugin-react-hooks'; | ||
import testingLibrary from 'eslint-plugin-testing-library'; | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
|
||
export default tseslint.config( | ||
{ | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
}, | ||
eslint.configs.recommended, | ||
tseslint.configs.recommended, | ||
tseslint.configs.strict, | ||
reactPlugin.configs.flat.recommended, | ||
reactPlugin.configs.flat['jsx-runtime'], | ||
reactHooks.configs['recommended-latest'], | ||
{ | ||
files: ['**/*{spec,test}.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'], | ||
...testingLibrary.configs['flat/react'], | ||
}, | ||
eslintConfigPrettier, | ||
); |
Oops, something went wrong.