eslint-plugin-chai-friendly icon indicating copy to clipboard operation
eslint-plugin-chai-friendly copied to clipboard

Makes eslint friendly towards Chai.js 'expect' and 'should' statements.

Results 10 eslint-plugin-chai-friendly issues
Sort by recently updated
recently updated
newest added

``` Oops! Something went wrong! :( ESLint: 9.0.0 TypeError: context.getAncestors is not a function Occurred while linting /accordion/src/accordion.spec.ts:37 Rule: "chai-friendly/no-unused-expressions" at ExpressionStatement (/Users/jzwartepoorte/Projects/components/node_modules/eslint-plugin-chai-friendly/lib/rules/no-unused-expressions.js:262:50) ``` Works fine with eslint 8.57.0 Uses...

Hi, As of ESLint 8, there is now a new format for ESLint config files which requires that plugins follow a specific format. In ESLint 9, this format will be...

I caught that due to this lint rule setup: ``` 'chai-friendly/no-unused-expressions': 'error', 'no-unused-expressions': 'off', ``` Things like this pass through: `.to.be.disabled` Where syntax should be: `.to.be.disabled()` As we don't have...

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...

dependencies

Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Hello, I'm using chai-friendly and enums and I get errors about `Expected an assignment or function call and instead saw an expression.`. How to move on without this error but...

Hey @ihordiachenko! It would be nice if you could combine your plugin with @Turbo87's [`eslint-plugin-chai-expect`](https://github.com/Turbo87/eslint-plugin-chai-expect) into a shared `eslint-plugin-chai` :) That's even something you could submit to the other members...

- closes https://github.com/ihordiachenko/eslint-plugin-chai-friendly/issues/32 ## Issue Running the following in this repo (currently based on [[email protected]](https://github.com/eslint/eslint/releases/tag/v8.56.0)): ```shell npm ci npm test ``` results in the deprecation warning: > (node:29800) DeprecationWarning: "no-unused-expressions"...

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies

## What would you like? Add a GitHub Actions Continuous Integration (CI) workflow to test commits to the repo. The workflow should run available tests such as defined in [package.json](https://github.com/ihordiachenko/eslint-plugin-chai-friendly/blob/master/package.json)...