Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
// @ts-check

import js from "@eslint/js";
import { defineConfig } from "eslint/config";
import imp from "eslint-plugin-import";
import prettier from "eslint-plugin-prettier";
// support will be added soon: https://github.com/jsx-eslint/eslint-plugin-react/pull/3727
import react from "eslint-plugin-react";
// import reactRecommended from "eslint-plugin-react/configs/recommended.js";
// support will be added soon: https://github.com/facebook/react/pull/28773
import reactHooks from "eslint-plugin-react-hooks";
// TODO: This is currently reporting lots of issues that need to be addressed
// import reactHooks from "eslint-plugin-react-hooks";
import simpleImpSort from "eslint-plugin-simple-import-sort";
import ts from "typescript-eslint";
import tseslint from "typescript-eslint";

export default ts.config(
{ ignores: ["node_modules", "**/dist"] },
export default defineConfig(
{ ignores: ["node_modules", "**/dist", "build", "coverage"] },
{
files: ["**/*.{j,t}s?(x)"],
extends: [
js.configs.recommended,
...ts.configs.recommended,
tseslint.configs.recommended,
// reactHooks.configs.flat.recommended,
// reactRecommended, // not compatible currently
// reactHooks.configs.recommended, // not compatible currently
],
plugins: {
"@typescript-eslint": tseslint.plugin,
prettier,
import: imp,
"simple-import-sort": simpleImpSort,
"react-hooks": reactHooks,
react,
},
rules: {
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,31 @@
"react": ">= 16.18"
},
"devDependencies": {
"@eslint/js": "9.35.0",
"@eslint/js": "9.39.2",
"@testing-library/react": "16.3.0",
"@types/node": "24.5.1",
"@types/react": "19.1.13",
"@types/react-dom": "19.1.9",
"@vitejs/plugin-react": "5.0.3",
"@vitest/coverage-v8": "3.2.4",
"eslint": "9.35.0",
"@types/node": "25.0.2",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "5.1.2",
"@vitest/coverage-v8": "4.0.15",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"jsdom": "27.0.0",
"prettier": "3.6.2",
"react": "19.1.1",
"react-dom": "19.1.1",
"react-router-dom": "7.9.1",
"sass": "1.92.1",
"jsdom": "27.3.0",
"prettier": "3.7.4",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-router-dom": "7.10.1",
"sass": "1.96.0",
"spy4js": "5.0.0",
"typescript": "5.9.2",
"typescript-eslint": "8.44.0",
"vite": "7.1.5",
"vitest": "3.2.4"
"typescript": "5.9.3",
"typescript-eslint": "8.49.0",
"vite": "7.2.7",
"vitest": "4.0.15"
},
"packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706"
}
Loading