Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added vscode settings

=b73cd2418ac8
diff --git a/backend/.vscode/extensions.json b/backend/.vscode/extensions.json
new file mode 100644
index 0000000000..f7a7a3da58
--- /dev/null
+++ b/backend/.vscode/extensions.json
@@ -0,0 +1,4 @@
+{
+ "recommendations": ["oxc.oxc-vscode"],
+ "unwantedRecommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
+}
diff --git a/backend/.vscode/settings.json b/backend/.vscode/settings.json
new file mode 100644
index 0000000000..c866885cd6
--- /dev/null
+++ b/backend/.vscode/settings.json
@@ -0,0 +1,17 @@
+{
+ "oxc.enable": true,
+ "oxc.typeAware": true,
+ "eslint.enable": false,
+ "prettier.enable": false,
+ "[typescript]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode",
+ "editor.formatOnSave": true
+ },
+ "[javascript]": {
+ "editor.defaultFormatter": "oxc.oxc-vscode",
+ "editor.formatOnSave": true
+ },
+ "editor.codeActionsOnSave": {
+ "source.fixAll.oxc": "explicit"
+ }
+}
diff --git a/backend/AGENTS.md b/backend/AGENTS.md
index 13ec5b2d88..161251ab8a 100644
--- a/backend/AGENTS.md
+++ b/backend/AGENTS.md
@@ -206,6 +206,9 @@ Path alias: `@app/*` maps to `./src/*`.
Oxlint (`.oxlintrc.json`) lints; its type-aware rules run through `oxlint-tsgolint` on TypeScript 7.
Existing `eslint-disable` comments, including `@typescript-eslint/` rule names, are honoured by Oxlint.
`import/no-cycle` is off: the backend has thousands of cycles through `@app/*` that ESLint's resolver never saw.
+Type-aware linting is the `--type-aware` CLI flag, not `options.typeAware`: Oxlint rejects that option in a nested
+config, which is what `backend/.oxlintrc.json` is to an editor opened at the repo root.
+Editor setup for the Oxc extension lives in `backend/.vscode/` and `backend/.zed/`.
Oxfmt (`.oxfmtrc.json`) formats `src/**/*.ts` and sorts imports in this group order:
1. Side-effect imports