feat(build): add fmt/lint/test tasks

This commit is contained in:
2025-10-17 23:22:58 +03:00
parent 60a0120b58
commit 8e9c9585f2
13 changed files with 256 additions and 24 deletions

21
frontend/eslint.config.js Normal file
View File

@@ -0,0 +1,21 @@
import { defineConfig } from "eslint/config";
import js from "@eslint/js";
export default defineConfig([
{
files: ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"], // Adjust file patterns as needed
ignores: ["dist/**"],
plugins: {
js,
},
extends: [
js.configs.recommended, // Basic recommended rules
// Add other configurations or plugins here (e.g., 'plugin:react/recommended')
],
rules: {
// Customize or add specific rules here
"no-unused-vars": "warn",
"no-undef": "warn",
},
},
]);