Skip to content

Commit ba7278b

Browse files
Merge pull request #2140 from arc53/dependabot/npm_and_yarn/frontend/husky-9.1.7
chore(deps-dev): bump husky from 8.0.3 to 9.1.7 in /frontend
2 parents ceaf942 + 9d649de commit ba7278b

File tree

5 files changed

+85
-72
lines changed

5 files changed

+85
-72
lines changed

frontend/.eslintignore

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

frontend/.eslintrc.cjs

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

frontend/eslint.config.js

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
import js from '@eslint/js'
2+
import tsParser from '@typescript-eslint/parser'
3+
import tsPlugin from '@typescript-eslint/eslint-plugin'
4+
import react from 'eslint-plugin-react'
5+
import unusedImports from 'eslint-plugin-unused-imports'
6+
import prettier from 'eslint-plugin-prettier'
7+
import globals from 'globals'
8+
9+
export default [
10+
{
11+
ignores: [
12+
'node_modules/',
13+
'dist/',
14+
'prettier.config.cjs',
15+
'.eslintrc.cjs',
16+
'env.d.ts',
17+
'public/',
18+
'assets/',
19+
'vite-env.d.ts',
20+
'.prettierignore',
21+
'package-lock.json',
22+
'package.json',
23+
'postcss.config.cjs',
24+
'tailwind.config.cjs',
25+
'tsconfig.json',
26+
'tsconfig.node.json',
27+
'vite.config.ts',
28+
],
29+
},
30+
{
31+
files: ['**/*.{js,jsx,ts,tsx}'],
32+
languageOptions: {
33+
ecmaVersion: 'latest',
34+
sourceType: 'module',
35+
parser: tsParser,
36+
parserOptions: {
37+
ecmaFeatures: {
38+
jsx: true,
39+
},
40+
},
41+
globals: {
42+
...globals.browser,
43+
...globals.es2021,
44+
...globals.node,
45+
},
46+
},
47+
plugins: {
48+
'@typescript-eslint': tsPlugin,
49+
react,
50+
'unused-imports': unusedImports,
51+
prettier,
52+
},
53+
rules: {
54+
...js.configs.recommended.rules,
55+
...tsPlugin.configs.recommended.rules,
56+
...react.configs.recommended.rules,
57+
...prettier.configs.recommended.rules,
58+
'react/prop-types': 'off',
59+
'unused-imports/no-unused-imports': 'error',
60+
'react/react-in-jsx-scope': 'off',
61+
'no-undef': 'off',
62+
'@typescript-eslint/no-explicit-any': 'warn',
63+
'@typescript-eslint/no-unused-vars': 'warn',
64+
'@typescript-eslint/no-unused-expressions': 'warn',
65+
'prettier/prettier': [
66+
'error',
67+
{
68+
endOfLine: 'auto',
69+
},
70+
],
71+
},
72+
settings: {
73+
react: {
74+
version: 'detect',
75+
},
76+
},
77+
},
78+
]

frontend/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"eslint-plugin-promise": "^6.6.0",
6161
"eslint-plugin-react": "^7.37.5",
6262
"eslint-plugin-unused-imports": "^4.1.4",
63-
"husky": "^8.0.0",
63+
"husky": "^9.1.7",
6464
"lint-staged": "^15.3.0",
6565
"postcss": "^8.4.49",
6666
"prettier": "^3.5.3",

0 commit comments

Comments
 (0)