Skip to content

Commit

Permalink
chore: 🤖 bump vite to v5 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman authored Nov 19, 2023
1 parent f3506f9 commit 15132de
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 100 deletions.
33 changes: 19 additions & 14 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
browser: true,
es2021: true,
},
plugins: ['@typescript-eslint', 'react', 'react-refresh'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/strict-type-checked',
Expand All @@ -15,6 +16,19 @@ module.exports = {
'plugin:import/typescript',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
},
settings: {
'react': { version: 'detect' },
'import/resolver': {
typescript: true,
node: true,
},
},
overrides: [
{
env: {
Expand Down Expand Up @@ -49,19 +63,10 @@ module.exports = {
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
},
plugins: ['@typescript-eslint', 'react'],
rules: {},
settings: {
'react': { version: 'detect' },
'import/resolver': {
typescript: true,
node: true,
},
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.4",
"eslint-plugin-testing-library": "6.1.2",
"gitzy": "4.0.0",
"jsdom": "22.1.0",
Expand All @@ -54,7 +55,7 @@
"prettier-plugin-tailwindcss": "0.5.7",
"tailwindcss": "3.3.5",
"typescript": "5.2.2",
"vite": "4.5.0",
"vite": "5.0.0",
"vitest": "0.34.6"
},
"packageManager": "[email protected]",
Expand Down
Loading

1 comment on commit 15132de

@vercel
Copy link

@vercel vercel bot commented on 15132de Nov 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.