chore: update VSCode settings and adjust ESLint rule for unused variables

This commit is contained in:
Daniel Lavrushin 2026-02-11 11:11:44 +01:00 committed by крысавдоме
parent 35397f3059
commit 58b5af067f
No known key found for this signature in database
GPG key ID: 8633BA8E6F7122A5
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{
"editor.showUnused": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"MarkdownPaste.path": "${workspaceRoot}/docs/static/img/${fileBasenameNoExtension}",

View file

@ -33,7 +33,7 @@ export default tseslint.config(
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
"warn",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
],
"@typescript-eslint/no-explicit-any": "error",