title: ESLint Async pipes should not be negated
body: <p>I'm using ESLint with Angular and I don't like having extra code like <code>(observable | async) === (false | null | undefined)</code> instead of just <code>(observable | async)</code>. How do I disable that rule?</p>
  <pre><code>E:\GitHub\skybot\angular\src\app\custom-layout\custom-layout.component.html
    6:75  error  Async pipes should not be negated. Use (observable | async) === (false | null | undefined) to check its value instead  @angular-eslint/template/no-negated-async
  </code></pre>
  <h2>custom-layout.component.html</h2>
  <pre><code>&lt;ng-template #sidenavRef&gt;
    &lt;vex-sidenav [collapsed]=&quot;sidenavCollapsed$ | async&quot;&gt;&lt;/vex-sidenav&gt;
  &lt;/ng-template&gt;
  
  &lt;ng-template #toolbarRef&gt;
    &lt;vex-toolbar [hasShadow]=&quot;toolbarShadowEnabled$ | async&quot; [mobileQuery]=&quot;!(isDesktop$ | async)&quot; class=&quot;vex-toolbar&quot;&gt;
    &lt;/vex-toolbar&gt;
  &lt;/ng-template&gt;
  
  &lt;ng-template #footerRef&gt;
    &lt;vex-footer *ngIf=&quot;isFooterVisible$ | async&quot; class=&quot;vex-footer&quot;&gt;&lt;/vex-footer&gt;
  &lt;/ng-template&gt;
  
  &lt;ng-template #quickPanelRef&gt;
    &lt;vex-quick-panel&gt;&lt;/vex-quick-panel&gt;
  &lt;/ng-template&gt;
  
  &lt;vex-layout [footerRef]=&quot;footerRef&quot; [quickPanelRef]=&quot;quickPanelRef&quot; [sidenavRef]=&quot;sidenavRef&quot; [toolbarRef]=&quot;toolbarRef&quot;&gt;
  &lt;/vex-layout&gt;
  
  &lt;vex-config-panel-toggle (openConfig)=&quot;configPanel.open()&quot;&gt;&lt;/vex-config-panel-toggle&gt;
  
  &lt;!-- CONFIGPANEL --&gt;
  &lt;vex-sidebar #configPanel [invisibleBackdrop]=&quot;true&quot; position=&quot;right&quot;&gt;
    &lt;vex-config-panel&gt;&lt;/vex-config-panel&gt;
  &lt;/vex-sidebar&gt;
  &lt;!-- END CONFIGPANEL --&gt;
  
  </code></pre>
  <h2>.eslintrc.json</h2>
  <pre><code>{
    &quot;root&quot;: true,
    &quot;ignorePatterns&quot;: [
      &quot;projects/**/*&quot;
    ],
    &quot;overrides&quot;: [
      {
        &quot;files&quot;: [
          &quot;*.ts&quot;
        ],
        &quot;parserOptions&quot;: {
          &quot;project&quot;: [
            &quot;tsconfig.json&quot;,
            &quot;e2e/tsconfig.json&quot;
          ],
          &quot;createDefaultProgram&quot;: true
        },
        &quot;extends&quot;: [
          &quot;plugin:@angular-eslint/ng-cli-compat&quot;,
          &quot;plugin:@angular-eslint/ng-cli-compat--formatting-add-on&quot;,
          &quot;plugin:@angular-eslint/template/process-inline-templates&quot;
        ],
        &quot;rules&quot;: {
          &quot;@angular-eslint/component-selector&quot;: [
            &quot;error&quot;,
            {
              &quot;type&quot;: &quot;element&quot;,
              &quot;prefix&quot;: &quot;vex&quot;,
              &quot;style&quot;: &quot;kebab-case&quot;
            }
          ],
          &quot;@angular-eslint/directive-selector&quot;: [
            &quot;error&quot;,
            {
              &quot;type&quot;: &quot;attribute&quot;,
              &quot;prefix&quot;: &quot;vex&quot;,
              &quot;style&quot;: &quot;camelCase&quot;
            }
          ],
          &quot;@angular-eslint/no-host-metadata-property&quot;: &quot;off&quot;,
          &quot;@typescript-eslint/explicit-member-accessibility&quot;: [
            &quot;off&quot;,
            {
              &quot;accessibility&quot;: &quot;explicit&quot;
            }
          ],
          &quot;arrow-parens&quot;: [
            &quot;off&quot;,
            &quot;always&quot;
          ],
          &quot;id-blacklist&quot;: &quot;error&quot;,
          &quot;import/order&quot;: &quot;off&quot;,
          &quot;max-len&quot;: &quot;off&quot;,
          &quot;@angular-eslint/template/no-negated-async&quot;: &quot;off&quot;
        }
      },
      {
        &quot;files&quot;: [
          &quot;*.html&quot;
        ],
        &quot;extends&quot;: [
          &quot;plugin:@angular-eslint/template/recommended&quot;
        ],
        &quot;rules&quot;: {}
      }
    ]
  }
  
  
  </code></pre>