From 565adc54b74f072882d4557cff5a2d202a178192 Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Sun, 21 Jun 2026 20:32:49 +0000 Subject: [PATCH] T01: add .eslintrc.json --- .eslintrc.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..8196894 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,30 @@ +{ + "root": true, + "env": { + "browser": true, + "es2021": true, + "node": true + }, + "extends": [ + "eslint:recommended", + "@typescript-eslint/recommended", + "plugin:react-hooks/recommended", + "plugin:react-refresh/recommended" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": [ + "react-refresh", + "@typescript-eslint" + ], + "rules": { + "react-refresh/only-export-components": [ + "warn", + { "allowConstantExport": true } + ] + }, + "ignorePatterns": ["dist", "node_modules", "coverage"] +} \ No newline at end of file