Skip to content

Commit dc90876

Browse files
committed
chore: avoid lint error
1 parent 3657590 commit dc90876

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/eslint-plugin-svelte/eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ const config = [
4141
'@typescript-eslint/naming-convention': 'off',
4242
'new-cap': 'off',
4343
complexity: 'off',
44+
// This is not necessary as we manage it in a different way,
45+
// and it also prevents false positives for our internal rule implementation.
46+
'eslint-plugin/require-meta-docs-url': 'off',
4447
// Repo rule
4548
'no-restricted-imports': [
4649
'error',

packages/eslint-plugin-svelte/internal-rules/prefer-find-variable-safe.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ export default {
1010
description: 'enforce to use FindVariableContext to avoid infinite recursion',
1111
category: 'Best Practices',
1212
recommended: false,
13-
conflictWithPrettier: false,
14-
url: 'https://github.com/sveltejs/eslint-plugin-svelte/blob/v3.12.3/docs/rules/prefer-find-variable-safe.md'
13+
conflictWithPrettier: false
1514
},
1615
messages: {
1716
preferFindVariableSafe: 'Prefer to use FindVariableContext to avoid infinite recursion.'

0 commit comments

Comments
 (0)