Skip to content

Commit

Permalink
fix(lint): remove unnecessary eslint-disable comment in configuration…
Browse files Browse the repository at this point in the history
…-store and add downlevelIteration option in tsconfig for improved standards
  • Loading branch information
guidomodarelli committed Dec 6, 2024
1 parent d34108d commit ff87410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion plugins/wazuh-core/public/utils/configuration-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class ConfigurationStore implements IConfigurationStore {
};

for (const setting of settings) {
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
delete updatedSettings[setting];
}

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"downlevelIteration": true
},
"include": ["plugins/**/public", "plugins/**/server", "plugins/**/common"]
}

0 comments on commit ff87410

Please sign in to comment.