Closed DetachHead closed 1 year ago
i'm not sure if this is an issue with this plugin or eslint-plugin-svelte, so i'm raising it on both projects
eslint-plugin-svelte
from https://github.com/ota-meshi/eslint-plugin-svelte/issues/328:
Before You File a Bug Report Please Confirm You Have Done The Following... * [x] I have tried restarting my IDE and the issue persists. * [x] I have updated to the latest version of the packages. What version of ESLint are you using? 8.30.0 What version of eslint-plugin-svelte are you using? 2.14.1 What did you do? Configuration <script> // error: eslint-comments/require-description //eslint-disable-next-line console.log(1) </script> <!-- no error --> <!-- eslint-disable-next-line --> <input value="asdf"> What did you expect to happen? eslint-comments/require-description error on the html comment What actually happened? no error on the html comment Link to GitHub Repo with Minimal Reproducible Example https://github.com/DetachHead/eslint-plugin-svelte-issue/tree/d0eb35b9d72cd26928488f7bbe8cb0ee0f0d1222 Additional comments i'm not sure whether this is an issue with this plugin or eslint-plugin-eslint-comments, so i'm raising it in both projects
* [x] I have tried restarting my IDE and the issue persists. * [x] I have updated to the latest version of the packages.
8.30.0
2.14.1
Configuration
<script> // error: eslint-comments/require-description //eslint-disable-next-line console.log(1) </script> <!-- no error --> <!-- eslint-disable-next-line --> <input value="asdf">
eslint-comments/require-description error on the html comment
eslint-comments/require-description
no error on the html comment
https://github.com/DetachHead/eslint-plugin-svelte-issue/tree/d0eb35b9d72cd26928488f7bbe8cb0ee0f0d1222
i'm not sure whether this is an issue with this plugin or eslint-plugin-eslint-comments, so i'm raising it in both projects
eslint-plugin-eslint-comments
see https://github.com/ota-meshi/eslint-plugin-svelte/issues/328#issuecomment-1357742731
i'm not sure if this is an issue with this plugin or
eslint-plugin-svelte
, so i'm raising it on both projectsfrom https://github.com/ota-meshi/eslint-plugin-svelte/issues/328: