ihordiachenkoihordiachenkoCommunity·2 Agent Skills Included

eslint-plugin-chai-friendly

Chai-friendly linting, upstream parity checks, and release notes

Stops ESLint from falsely flagging Chai expect and should assertions as unused expressions. Checks the plugin rule against the latest upstream ESLint release to find missing options, node handlers, and test coverage. Generates consistent, user-focused release notes from commit history. Removes the need for eslint-disable comments and manual version comparisons.
npx skills add ihordiachenko/eslint-plugin-chai-friendly --all -g -y
Available:

Explains the plugin's architecture and test commands so the agent knows how the rule works and that failing integration tests are expected behavior, not regressions.

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install eslint-plugin-chai-friendly?

Run `npx skills add ihordiachenko/eslint-plugin-chai-friendly --all -g -y` in your terminal to install all skills in this suite globally.

Why does ESLint flag my Chai assertions?

The default no-unused-expressions rule treats statements like expect(foo).to.be.true as unused. This plugin replaces that rule with a Chai-aware version so no eslint-disable comments are needed.

How to check parity with upstream ESLint?

Ask your agent to check parity, and it will diff the plugin's rule and tests against the latest ESLint release, then report missing options, node handlers, and test cases.

How to generate release notes for this plugin?

Ask your agent to generate release notes, and it will review commits since the last tag and produce a concise bullet list of user-visible changes in the repo's established style.

Does it work with TypeScript and ESLint 9?

Yes. The recommended config disables both the core and @typescript-eslint versions of the rule, and supports both flat config and legacy .eslintrc formats.

Related Repositories in Software Engineering

View All in Software Engineering