Overwrite max line length for Svelte files

This commit is contained in:
Romein van Buren 2023-08-07 18:22:30 +02:00
parent 945a539178
commit 75ab0a8c07
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -36,6 +36,13 @@ const svelte = {
parser: 'svelte-eslint-parser',
rules: {
'no-inner-declarations': 0,
'max-len': [
'warn',
{
...generic.rules['max-len'][1],
code: 200,
},
],
'svelte/no-inner-declarations': [
'error',
'functions',