truepass/eslint
Every export of truepass/eslint, with its signature and doc comment: rules, plugin, configs, noFixedSleep, noFocusedTest, noTestRetry and 1 more.
truepass's ESLint plugin: the ways a test suite is made to pass without the code passing.
import { rules, plugin, configs, … } from 'truepass/eslint';Constants
configs
recommended: every rule as an error. adoption: every rule as a warning, for a repo
paying down a backlog with --max-warnings as the ratchet.
const configs: {
recommended: Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>;
adoption: Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>;
};noFixedSleep
const noFixedSleep: import("eslint").Rule.RuleModule;noFocusedTest
const noFocusedTest: import("eslint").Rule.RuleModule;noTestRetry
const noTestRetry: import("eslint").Rule.RuleModule;noUnexplainedSkip
const noUnexplainedSkip: import("eslint").Rule.RuleModule;plugin
const plugin: ESLint.Plugin;rules
const rules: Record<string, Rule.RuleModule>;truepass
Every export of truepass, with its signature and doc comment: parseUnifiedDiff, unexplainedSnapshots, weakenedAssertions, MATCHER_RANK, check, createProgram and 1 more, plus 4 types.
FAQ
Short answers about truepass: which test runners it reads, legacy configs, keeping a skip, fixing a focus automatically, where the diff check's reasons go, shallow CI clones, suppressions, and what it does not check, each with where to read more.