redline
HighTests and CIgate-weakened

Check switched off in config

Check switched off in config. Turns a quality gate down ("strict": false).

This is how the comment reads inline, under the flagged line.

Why it matters

Loosening strict or skipping a CI job makes every later change easier to break, and the PR looks like a config tweak.

What to do

Keep the gate and fix the errors it reports.

Examples

Flagged
"strict": false
Better
"strict": true

What it catches

It reads a pattern on each line, aware of strings and comments. Languages: Any file. Scope: All files. These cases are the rule's own tests: the first set must be flagged and the second must not.

Flagged

tsconfig.json
{
  "compilerOptions": {
    "strict": false
  }
}

Left alone

tsconfig.json
{
  "compilerOptions": {
    "strict": true
  }
}

Research

Config that switches a gate off (`"strict": false`, `if: false`, a rule set to `off`). The check still runs and still passes, but it no longer checks anything.

  • skill: ci-integrity-audit

Turn it off or change it

In a config file for the CLI, or in the API's rules field:

{
  "rules": {
    "disable": [
      "gate-weakened"
    ],
    "severity": {
      "gate-weakened": "low"
    }
  }
}

Read the source or report a false positive.