Initial state with almost all ready to work

This commit is contained in:
2025-04-03 15:11:48 +02:00
parent 0eae0f3248
commit b7e43ef351
15 changed files with 2175 additions and 31 deletions

35
eslint.config.js Normal file
View File

@@ -0,0 +1,35 @@
import { defineConfig } from "eslint/config";
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintPluginReact from "eslint-plugin-react";
import eslintPluginReactHooks from "eslint-plugin-react-hooks";
// noinspection JSCheckFunctionSignatures
export default defineConfig([
eslint.configs.recommended,
...tseslint.configs.recommended,
{
settings: {
react: {
version: "detect",
},
},
plugins: {
react: eslintPluginReact,
reactHooks: eslintPluginReactHooks,
},
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
]
},
},
eslintPluginReact.configs.flat.recommended,
eslintPluginReact.configs.flat['jsx-runtime'],
eslintPluginReactHooks.configs['recommended-latest'],
]);