Skip to content

Commit 44882d0

Browse files
Update dependencies (#391)
* Bump the npm_and_yarn group with 4 updates Bumps the npm_and_yarn group with 4 updates: [esbuild](https://github.com/evanw/esbuild), [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [vite-plugin-wasm](https://github.com/Menci/vite-plugin-wasm) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `esbuild` from 0.24.2 to 0.25.9 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md) - [Commits](evanw/esbuild@v0.24.2...v0.25.9) Updates `vite` from 5.4.19 to 7.1.3 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v7.1.3/packages/vite) Updates `vite-plugin-wasm` from 3.3.0 to 3.5.0 - [Commits](Menci/vite-plugin-wasm@v3.3.0...v3.5.0) Updates `vitest` from 2.1.9 to 3.2.4 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.4/packages/vitest) --- updated-dependencies: - dependency-name: esbuild dependency-version: 0.25.9 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 7.1.3 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite-plugin-wasm dependency-version: 3.5.0 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vitest dependency-version: 3.2.4 dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> * Bump @uiw/react-codemirror from 4.23.6 to 4.25.1 Bumps [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror) from 4.23.6 to 4.25.1. - [Release notes](https://github.com/uiwjs/react-codemirror/releases) - [Commits](uiwjs/react-codemirror@v4.23.6...v4.25.1) --- updated-dependencies: - dependency-name: "@uiw/react-codemirror" dependency-version: 4.25.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.40.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.18.0 to 8.40.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.40.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.40.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update deps. * Fix lint errors. * Bump eslint. * Remove unused deps. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 5570f48 commit 44882d0

File tree

15 files changed

+4628
-6337
lines changed

15 files changed

+4628
-6337
lines changed

.eslintrc.cjs

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

eslint.config.js

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import reactHooks from "eslint-plugin-react-hooks";
4+
import reactRefresh from "eslint-plugin-react-refresh";
5+
import tseslint from "@typescript-eslint/eslint-plugin";
6+
import tsparser from "@typescript-eslint/parser";
7+
8+
export default [
9+
{
10+
ignores: ["dist", "node_modules"],
11+
},
12+
{
13+
files: ["**/*.{ts,tsx}"],
14+
languageOptions: {
15+
ecmaVersion: 2020,
16+
globals: {
17+
...globals.browser,
18+
...globals.node,
19+
React: "readonly",
20+
JSX: "readonly",
21+
Go: "readonly",
22+
},
23+
parser: tsparser,
24+
parserOptions: {
25+
ecmaVersion: "latest",
26+
sourceType: "module",
27+
ecmaFeatures: {
28+
jsx: true,
29+
},
30+
},
31+
},
32+
plugins: {
33+
"@typescript-eslint": tseslint,
34+
"react-hooks": reactHooks,
35+
"react-refresh": reactRefresh,
36+
},
37+
rules: {
38+
...js.configs.recommended.rules,
39+
...tseslint.configs.recommended.rules,
40+
...reactHooks.configs.recommended.rules,
41+
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
42+
"no-console": ["warn", { allow: ["warn", "error"] }],
43+
},
44+
},
45+
];

0 commit comments

Comments
 (0)