anandthakker / anandthakker/doiuse

ignore error for one line only

オープン
#179 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1.3k
フォーク
57
PR マージ指標
30日以内にマージされた PR はありません

説明

`/* doiuse-disable feature */` often leads to people forgetting to re-enable this rule again, when it should only be ignored in one specific case

Most tools support a syntax to ignore an error only for 1 line. It would be super useful if doiuse supported something like that too, e.g.
`/* doiuse-ignore feature */`
or
`/* doiuse-ignore-next-line feature */`

EDIT: postcss autoprefixer has `/* autoprefixer: ignore next */` https://github.com/postcss/autoprefixer?tab=readme-ov-file#warnings:~:text=after%20the%20comment.-,/*%20autoprefixer%3A%20ignore%20next%20*/,-%3A%20disable%20Autoprefixer%20only for example, which is feature/issue agnostic, but shows it's commonly used with other postcss tools too

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。