check-parity

Compare eslint-plugin-chai-friendly no-unused-expressions against upstream ESLint and report gaps.

57|10|Updated Nov 27, 2016
One-click install
npx skills add https://github.com/ihordiachenko/eslint-plugin-chai-friendly --skill check-parity-ihordiachenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-parity
Source: https://github.com/ihordiachenko/eslint-plugin-chai-friendly/tree/main/.claude/skills/check-parity
Command: npx skills add https://github.com/ihordiachenko/eslint-plugin-chai-friendly --skill check-parity-ihordiachenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents users from getting inconsistent linting results by identifying when eslint-plugin-chai-friendly’s forked no-unused-expressions rule drifts from the latest upstream ESLint production behavior.

Core Features & Use Cases

  • Upstream release comparison: Determines the latest ESLint release tag and fetches the corresponding upstream rule and tests.
  • Rule implementation diffing: Compares schema options, default options behavior, checker node handlers, directive logic, reporting logic, and meta fields to pinpoint functional gaps.
  • Test suite coverage audit: Compares upstream valid/invalid test cases against the fork to reveal missing coverage patterns, excluding chai-specific behavior.

Quick Start

Use the check-parity skill to produce a gap report showing what upstream ESLint changed in no-unused-expressions and what eslint-plugin-chai-friendly needs to update to match.

Frequently Asked Questions about check-parity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check ESLint rule parity for a forked plugin against upstream?

Check ESLint rule parity by fetching the latest upstream release tag and performing structured diffs across schema options, checker handlers, and reporting logic. This produces a prioritized gap report showing missing fixes and coverage in the forked rule.

Why does eslint-plugin-chai-friendly give inconsistent linting results for no-unused-expressions?

Inconsistent linting results occur when the forked no-unused-expressions rule drifts from the latest upstream ESLint production behavior. Comparing directive detection, default options, and reporting logic identifies the functional gaps causing the drift.

How do I compare ESLint test coverage between upstream and a custom plugin fork?

Compare ESLint test coverage by reading both upstream and local test sources in full, then diffing valid and invalid test cases. This reveals missing coverage patterns in the fork, excluding chai-specific behavior.

Does check-parity require specific dependencies to analyze ESLint rule drift?

Check-parity requires no external dependencies to analyze ESLint rule drift. It operates by directly fetching the latest upstream release tag and reading local rule and test sources to output a structured gap report.

What is the best way to find missing ESLint fixes in a forked linting rule?

The best way to find missing ESLint fixes is performing a structured diff across implementation and tests. Comparing meta fields, schema options, and checker node handlers pinpoints exactly what the fork needs to update to match upstream.

When should I audit my forked ESLint rule for upstream feature drift?

Audit your forked ESLint rule for upstream feature drift when you suspect changed schemas, default options, directive detection, checker handlers, or reporting logic. A gap report verifies if the fork matches the latest production release.