Skip to main content

id-class-ad-disabled

Id and class can not use ad keyword, it will blocked by adblock software.

Level: warning

Config value

  1. true: enable rule
  2. false: disable rule

The following pattern are not considered violations:

<div id="adcontainer"></div>

The following pattern is considered violation:

<div id="ad-container"></div>
<div id="ad_container"></div>