Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit 7c8a811

Browse files
committed
chore: bump dependencies
1 parent 8383aaf commit 7c8a811

File tree

13 files changed

+5748
-9472
lines changed

13 files changed

+5748
-9472
lines changed

.eslintrc.cjs

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

.github/workflows/build-lint.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: Check out the repo
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

1919
- name: Install Node.js
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v6
2121
with:
22-
node-version: 18
22+
node-version: 22
2323
cache: npm
2424

2525
- name: Install dependencies
@@ -29,7 +29,10 @@ jobs:
2929
run: npm run build
3030

3131
- name: Lint
32-
run: npm run lint:check
32+
run: npm run lint
33+
34+
- name: Format
35+
run: npm run format
3336

3437
- name: Add build summary
3538
run: |

eslint.config.cjs

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

eslint.config.js

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import globals from 'globals';
2+
import js from '@eslint/js';
3+
import tsPlugin from '@typescript-eslint/eslint-plugin';
4+
import tsParser from '@typescript-eslint/parser';
5+
import reactPlugin from 'eslint-plugin-react';
6+
import reactHooksPlugin from 'eslint-plugin-react-hooks';
7+
import reactRefreshPlugin from 'eslint-plugin-react-refresh';
8+
import jsxA11yPlugin from 'eslint-plugin-jsx-a11y';
9+
import importPlugin from 'eslint-plugin-import';
10+
import prettierConfig from 'eslint-config-prettier';
11+
12+
export default [
13+
{
14+
ignores: ['**/dist', '**/node_modules', '**/eslint.config.*', '**/vite.config.*', '**/tsconfig*.json'],
15+
},
16+
js.configs.recommended,
17+
...tsPlugin.configs['flat/recommended'],
18+
reactPlugin.configs.flat.recommended,
19+
reactPlugin.configs.flat['jsx-runtime'],
20+
reactHooksPlugin.configs.flat.recommended,
21+
jsxA11yPlugin.flatConfigs.recommended,
22+
importPlugin.flatConfigs.recommended,
23+
{
24+
files: ['**/*.{ts,tsx}'],
25+
languageOptions: {
26+
globals: {
27+
...globals.browser,
28+
},
29+
parser: tsParser,
30+
parserOptions: {
31+
ecmaVersion: 'latest',
32+
sourceType: 'module',
33+
ecmaFeatures: {
34+
jsx: true,
35+
},
36+
},
37+
},
38+
plugins: {
39+
'react-refresh': reactRefreshPlugin,
40+
},
41+
settings: {
42+
react: {
43+
version: 'detect',
44+
},
45+
'import/resolver': {
46+
node: {
47+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
48+
paths: ['src'],
49+
alias: {
50+
'@': './node_modules',
51+
},
52+
},
53+
},
54+
},
55+
rules: {
56+
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
57+
},
58+
},
59+
prettierConfig,
60+
];

0 commit comments

Comments
 (0)