Skip to content

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

patch Eslint GetToken issue

Maidul Islamf01fb2830a09
diff --git a/backend/.eslintrc b/backend/.eslintrc
index 64b049ea7d..172e72d4b7 100644
--- a/backend/.eslintrc
+++ b/backend/.eslintrc
@@ -1,21 +1,44 @@
{
"parser": "@typescript-eslint/parser",
- "plugins": ["@typescript-eslint", "unused-imports"],
+ "plugins": [
+ "@typescript-eslint",
+ "unused-imports"
+ ],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
+ "@typescript-eslint/no-empty-function": "off",
"no-console": 2,
- "quotes": ["error", "double", { "avoidEscape": true }],
- "comma-dangle": ["error", "only-multiline"],
+ "quotes": [
+ "error",
+ "double",
+ {
+ "avoidEscape": true
+ }
+ ],
+ "comma-dangle": [
+ "error",
+ "only-multiline"
+ ],
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
- { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
+ {
+ "vars": "all",
+ "varsIgnorePattern": "^_",
+ "args": "after-used",
+ "argsIgnorePattern": "^_"
+ }
],
- "sort-imports": ["error", { "ignoreDeclarationSort": true }]
+ "sort-imports": [
+ "error",
+ {
+ "ignoreDeclarationSort": true
+ }
+ ]
}
-}
+}
\ No newline at end of file
diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index e9cec0e24b..8fe8e0cb9e 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -70,6 +70,7 @@ module.exports = {
],
"@typescript-eslint/no-non-null-assertion": "off",
"simple-import-sort/exports": "warn",
+ "@typescript-eslint/no-empty-function": "off",
"simple-import-sort/imports": [
"warn",
{