chore: fix even more linting error

This commit is contained in:
Arman
2023-08-31 18:44:06 +02:00
parent 63b986ce97
commit bcc4f8013c
4 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -27,7 +27,10 @@ module.exports = {
'@typescript-eslint/no-duplicate-enum-values': 'off',
'svelte/no-at-html-tags': 'off',
'no-unused-vars': 'off', // This rule is handled by `@typescript-eslint/no-unused-vars` so it needs to be disabled to avoid conflicts.
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }]
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^(_|\\$\\$)' } // Ignore unused variables starting with `_` or `$$`.
]
},
env: {
browser: true,
@@ -9,6 +9,7 @@
import { clearSubPanels, popSubPanel, subPanels } from '../subPanels';
/* eslint no-undef: "off" */
type Option = $$Generic<Omit<Command, 'group'> & { group?: string }>;
export let options: Option[] | null = null;
export let search = '';
@@ -4,6 +4,7 @@
import { createEventDispatcher, onMount } from 'svelte';
import { Label } from '.';
/* eslint no-undef: "off" */
type Option = $$Generic<{
value: string | boolean | number;
label: string;
@@ -174,7 +174,7 @@
<div class="u-flex u-gap-16 u-cross-center">
<h2
class="body-text-1 u-bold u-trim"
style:break-word="break-word">
style:word-break="break-word">
{template.name}
</h2>
<ul class="avatars-group is-with-border">