Skip to content

Commit 7e47988

Browse files
committed
update dependencies
1 parent dcc872c commit 7e47988

24 files changed

+2202
-1221
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ next-env.d.ts
1111
.env.prod
1212
*.pem
1313
*.mjs
14+
!eslint.config.mjs
1415
*.xml
1516
*.patch

front/.eslintrc.json

Lines changed: 0 additions & 61 deletions
This file was deleted.

front/eslint.config.mjs

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
import { defineConfig } from "eslint/config";
2+
import { fixupConfigRules, fixupPluginRules } from "@eslint/compat";
3+
import react from "eslint-plugin-react";
4+
import prettier from "eslint-plugin-prettier";
5+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
6+
import tsParser from "@typescript-eslint/parser";
7+
import path from "node:path";
8+
import { fileURLToPath } from "node:url";
9+
import js from "@eslint/js";
10+
import { FlatCompat } from "@eslint/eslintrc";
11+
12+
const __filename = fileURLToPath(import.meta.url);
13+
const __dirname = path.dirname(__filename);
14+
const compat = new FlatCompat({
15+
baseDirectory: __dirname,
16+
recommendedConfig: js.configs.recommended,
17+
allConfig: js.configs.all
18+
});
19+
20+
export default defineConfig([{
21+
extends: fixupConfigRules(compat.extends(
22+
"plugin:react/recommended",
23+
"plugin:import/errors",
24+
"plugin:import/warnings",
25+
"plugin:import/react",
26+
"eslint:recommended",
27+
"next/core-web-vitals",
28+
"prettier",
29+
"plugin:@typescript-eslint/recommended",
30+
)),
31+
32+
plugins: {
33+
react: fixupPluginRules(react),
34+
prettier,
35+
"@typescript-eslint": fixupPluginRules(typescriptEslint),
36+
},
37+
38+
languageOptions: {
39+
globals: {},
40+
parser: tsParser,
41+
ecmaVersion: 2018,
42+
sourceType: "module",
43+
44+
parserOptions: {
45+
ecmaFeatures: {
46+
jsx: true,
47+
},
48+
},
49+
},
50+
51+
settings: {
52+
react: {
53+
version: "detect",
54+
},
55+
},
56+
57+
files: ["**/*.ts", "**/*.tsx"],
58+
59+
rules: {
60+
"prettier/prettier": ["error"],
61+
"no-console": "off",
62+
"no-alert": "error",
63+
"linebreak-style": ["warn", "unix"],
64+
"react/require-default-props": "off",
65+
"react-hooks/rules-of-hooks": "error",
66+
"react-hooks/exhaustive-deps": "off",
67+
"react/no-unescaped-entities": "off",
68+
"import/default": "off",
69+
"@typescript-eslint/no-explicit-any": "warn",
70+
"@next/next/no-img-element": "off",
71+
"import/no-named-as-default-member": "off",
72+
"@typescript-eslint/triple-slash-reference": "off",
73+
},
74+
}]);

front/package.json

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,46 @@
77
"scripts": {
88
"dev": "env-cmd -f .env.dev -- next dev -p 8080",
99
"build": "env-cmd -f .env.prod -- next build",
10-
"start": "env-cmd -f .env.prod -- next start -p 8080"
10+
"start": "env-cmd -f .env.prod -- next start -p 8080",
11+
"lint": "next lint",
12+
"lint:debug": "DEBUG=eslint:eslint next lint"
1113
},
1214
"devDependencies": {
13-
"sass": "^1.78.0",
14-
"typescript": "^5.6.2",
15-
"@types/node": "^20.14.1",
16-
"@types/react": "^18.3.3",
17-
"@types/react-dom": "^18.3.0",
18-
"@types/react-redux": "^7.1.33",
15+
"@eslint/compat": "^1.2.8",
16+
"@eslint/eslintrc": "^3.3.1",
17+
"@eslint/js": "^9.23.0",
18+
"@types/node": "^22.14.0",
19+
"@types/react": "^19.1.0",
20+
"@types/react-dom": "^19.1.1",
21+
"@types/react-redux": "^7.1.34",
1922
"@types/redux-logger": "^3.0.13",
20-
"@typescript-eslint/eslint-plugin": "^6.21.0",
21-
"@typescript-eslint/parser": "^6.21.0",
23+
"@typescript-eslint/eslint-plugin": "^8.29.0",
24+
"@typescript-eslint/parser": "^8.29.0",
2225
"env-cmd": "^10.1.0",
23-
"eslint": "^8.57.0",
24-
"eslint-config-love": "^43.1.0",
25-
"eslint-plugin-import": "^2.29.1",
26-
"eslint-plugin-n": "^16.6.2",
27-
"eslint-plugin-promise": "^6.2.0",
28-
"eslint-plugin-react": "^7.34.2"
26+
"eslint": "^9.23.0",
27+
"eslint-config-love": "^119.0.0",
28+
"eslint-plugin-import": "^2.31.0",
29+
"eslint-plugin-n": "^17.17.0",
30+
"eslint-plugin-promise": "^7.2.1",
31+
"eslint-plugin-react": "^7.37.5",
32+
"sass": "^1.86.3",
33+
"typescript": "^5.8.2"
2934
},
3035
"dependencies": {
31-
"next": "^14.2.10",
32-
"react": "^18.3.1",
33-
"@reduxjs/toolkit": "^2.2.2",
34-
"eslint-config-next": "^14.1.4",
35-
"eslint-config-prettier": "^9.1.0",
36-
"eslint-plugin-prettier": "^5.1.3",
36+
"@reduxjs/toolkit": "^2.6.1",
37+
"eslint-config-next": "^15.2.4",
38+
"eslint-config-prettier": "^10.1.1",
39+
"eslint-plugin-prettier": "^5.2.6",
3740
"http-status-codes": "^2.3.0",
38-
"i18next": "^23.11.5",
39-
"i18next-browser-languagedetector": "^7.2.1",
41+
"i18next": "^24.2.3",
42+
"i18next-browser-languagedetector": "^8.0.4",
4043
"i18next-resources-to-backend": "^1.2.1",
41-
"modern-normalize": "^2.0.0",
42-
"next-client-cookies": "^1.1.1",
43-
"react-i18next": "^14.1.2",
44-
"react-redux": "^9.1.0",
44+
"modern-normalize": "^3.0.1",
45+
"next": "^15.2.4",
46+
"next-client-cookies": "^2.0.1",
47+
"react": "^19.1.0",
48+
"react-i18next": "^15.4.1",
49+
"react-redux": "^9.2.0",
4550
"redux": "^5.0.1",
4651
"redux-logger": "^3.0.6",
4752
"redux-thunk": "^3.1.0"

0 commit comments

Comments
 (0)