Skip to content

Commit

Permalink
Merge pull request #125 from DuckyMomo20012/dev
Browse files Browse the repository at this point in the history
chore: bump packages
  • Loading branch information
DuckyMomo20012 authored Feb 4, 2025
2 parents 157b0fe + af80972 commit 2c3a3b6
Show file tree
Hide file tree
Showing 12 changed files with 1,497 additions and 2,028 deletions.
91 changes: 0 additions & 91 deletions .eslintrc.cjs

This file was deleted.

82 changes: 82 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import eslint from '@eslint/js';
import importPlugin from 'eslint-plugin-import';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import playwright from 'eslint-plugin-playwright';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import reactPlugin from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import tseslint from 'typescript-eslint';

export default tseslint.config(
eslint.configs.recommended,
reactPlugin.configs.flat.recommended,
reactPlugin.configs.flat['jsx-runtime'],
// FIXME: Update to flat config when new update is released
{
plugins: { 'react-hooks': reactHooks },
},
// eslint-disable-next-line import/no-named-as-default-member
tseslint.configs.recommended,
importPlugin.flatConfigs.recommended,
importPlugin.flatConfigs.typescript,
jsxA11y.flatConfigs.recommended,
eslintPluginPrettierRecommended,
playwright.configs['flat/recommended'],
{
rules: {
// FIXME: Remove these rules after migrating to flat config
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'import/extensions': [
'warn',
'ignorePackages',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
},
],
'import/no-unresolved': 'warn',
'import/order': [
'warn',
{
alphabetize: {
order: 'asc',
},
},
],
'import/prefer-default-export': 'off',
'no-param-reassign': 'off',
'prefer-destructuring': [
'warn',
{
array: false,
object: true,
},
],
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
'react/jsx-sort-props': 'warn',
'sort-imports': [
'warn',
{
ignoreDeclarationSort: true,
},
],
'spaced-comment': ['warn', 'always', { markers: ['/'] }],
},
},
{
settings: {
react: {
version: 'detect',
},
'import/resolver': { typescript: {} },
},
},
);
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,56 +16,56 @@
"prepare": "husky"
},
"dependencies": {
"@iconify/react": "5.1.0",
"@mantine/core": "7.15.2",
"@mantine/hooks": "7.15.2",
"@reduxjs/toolkit": "2.5.0",
"@tanstack/react-query": "5.62.11",
"@tanstack/react-query-devtools": "5.62.11",
"@iconify/react": "5.2.0",
"@mantine/core": "7.16.2",
"@mantine/hooks": "7.16.2",
"@reduxjs/toolkit": "2.5.1",
"@tanstack/react-query": "5.66.0",
"@tanstack/react-query-devtools": "5.66.0",
"axios": "1.7.9",
"clsx": "2.1.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-helmet-async": "2.0.5",
"react-hook-form": "7.54.2",
"react-redux": "9.2.0",
"react-router-dom": "7.1.1",
"type-fest": "4.31.0",
"react-router-dom": "6.29.0",
"type-fest": "4.33.0",
"zod": "3.24.1"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@playwright/test": "1.49.1",
"@tailwindcss/container-queries": "0.1.1",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@babel/core": "7.26.7",
"@commitlint/cli": "19.7.1",
"@commitlint/config-conventional": "19.7.1",
"@eslint/js": "9.19.0",
"@playwright/test": "1.50.1",
"@tailwindcss/postcss": "4.0.3",
"@tailwindcss/vite": "4.0.3",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@vitejs/plugin-react": "4.3.4",
"@vitest/ui": "2.1.8",
"autoprefixer": "10.4.20",
"eslint": "8.57.0",
"@vitest/ui": "3.0.4",
"eslint": "9.19.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-prettier": "10.0.1",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-playwright": "2.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-playwright": "2.2.0",
"eslint-plugin-prettier": "5.2.3",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"husky": "9.1.7",
"lint-staged": "15.3.0",
"postcss": "8.4.49",
"lint-staged": "15.4.3",
"postcss": "8.5.1",
"postcss-preset-mantine": "1.17.0",
"postcss-simple-vars": "7.0.1",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "0.6.9",
"tailwindcss": "3.4.17",
"typescript": "5.7.2",
"vite": "6.0.7",
"vitest": "2.1.8"
"prettier-plugin-tailwindcss": "0.6.11",
"tailwindcss": "4.0.3",
"typescript": "5.7.3",
"typescript-eslint": "8.22.0",
"vite": "6.0.11",
"vitest": "3.0.4"
}
}
Loading

0 comments on commit 2c3a3b6

Please sign in to comment.