From e5a55d6c7e310ae607f8228b2f9eb9e532154ddd Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 16 Mar 2026 16:19:13 +0100 Subject: [PATCH] feat: add front_end config --- front_end/.oxfmtrc.json | 6 ++++++ front_end/.oxlintrc.json | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 front_end/.oxfmtrc.json create mode 100644 front_end/.oxlintrc.json diff --git a/front_end/.oxfmtrc.json b/front_end/.oxfmtrc.json new file mode 100644 index 0000000..2a67077 --- /dev/null +++ b/front_end/.oxfmtrc.json @@ -0,0 +1,6 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "printWidth": 80, + "sortImports": {}, + "ignorePatterns": [] +} diff --git a/front_end/.oxlintrc.json b/front_end/.oxlintrc.json new file mode 100644 index 0000000..deeaa36 --- /dev/null +++ b/front_end/.oxlintrc.json @@ -0,0 +1,13 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["react", "typescript", "import"], + "ignorePatterns": [], + "rules": { + "no-console": ["warn", { "allow": ["warn", "error"] }], + "typescript/consistent-type-imports": "warn", + "typescript/no-unused-vars": [ + "warn", + { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } + ] + } +}