You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, in the following case, the rule is valid, so the disable comment is unnecessary:
! aglint-disable-next-lineexample.com##.ad
↓↓↓ should be fixed as ↓↓↓
example.com##.ad
This is true even if certain linter rules are disabled, but not all of them are violated. For example, turning off the duplicated-modifiers rule is unnecessary in the following example:
For example, in the following case, the rule is valid, so the disable comment is unnecessary:
↓↓↓ should be fixed as ↓↓↓
This is true even if certain linter rules are disabled, but not all of them are violated. For example, turning off the
duplicated-modifiers
rule is unnecessary in the following example:↓↓↓ should be fixed as ↓↓↓
Also, if none of the rules are violated, we can remove the entire comment:
↓↓↓ should be fixed as ↓↓↓
Note: this setting reduces the performance of the linter, so we have to turn it off by default
Inspired by https://eslint.org/docs/latest/use/configure/rules#report-unused-eslint-disable-comments
The text was updated successfully, but these errors were encountered: