Skip to content

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

fix: test be lint

IgorHorta4232cc84bc61
diff --git a/package.json b/package.json
index f573b00ae7..f3868f2148 100644
--- a/package.json
+++ b/package.json
@@ -14,8 +14,11 @@
"prepare": "husky install"
},
"lint-staged": {
- "./{frontend,backend}/**/*.{js,jsx,ts,tsx}": [
- "eslint --fix"
+ "./frontend/**/*.{js,jsx,ts,tsx}": [
+ "bash -c 'cd frontend && npx eslint --fix ${@#frontend/}' _"
+ ],
+ "./backend/**/*.{js,jsx,ts,tsx}": [
+ "eslint --fix --config backend/.eslintrc.js"
]
},
"devDependencies": {