mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-04-26 10:31:39 +00:00
chore: update VSCode settings and adjust ESLint rule for unused variables
This commit is contained in:
parent
35397f3059
commit
58b5af067f
2 changed files with 2 additions and 1 deletions
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"editor.showUnused": true,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"MarkdownPaste.path": "${workspaceRoot}/docs/static/img/${fileBasenameNoExtension}",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue