-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
What version of ESLint are you using?
8.53.0
What version of eslint-plugin-svelte are you using?
2.35.0
What did you do?
Configuration
// SvelteKit default
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte'],
},
env: {
browser: true,
es2017: true,
node: true,
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
],
};<dialog bind:open={open}></dialog>What did you expect to happen?
Both <details> and <dialog> have an open attribute. Therefore, it should be supported in the latter.
What actually happened?
'open' binding can only be used with
<details>(invalid-binding)eslint(svelte/valid-compile)
Link to GitHub Repo with Minimal Reproducible Example
Simply create a <dialog> element in a SvelteKit default template.
Additional comments
No response
Metadata
Metadata
Assignees
Labels
No labels