eslint-plugin-no-only-tests icon indicating copy to clipboard operation
eslint-plugin-no-only-tests copied to clipboard

ESLint rule for catching focused/only test blocks

Results 6 eslint-plugin-no-only-tests issues
Sort by recently updated
recently updated
newest added

Wondering if there is a way to add support for `xit`? ```js xit("some test", () => {}) ```

`.eslintrc.json` ``` "no-only-tests/no-only-tests": ["error", { "functions": ["fit", "xit"] }], ``` `output` ``` [Error - 10:49:28] Calculating config file for file:///Users/.../package.json) failed. Error: .eslintrc.json: Configuration for rule "no-only-tests/no-only-tests" is invalid: Value...

Coming over from https://github.com/mochajs/mocha/issues/5299: this is a fantastic plugin, especially for test frameworks that don't have support for failing on `.only`s in CI. Would you be open to having a...

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1. Changelog Sourced from js-yaml's changelog. [4.1.1] - 2025-11-12 Security Fix prototype pollution issue in yaml merge (<<) operator. Commits cc482e7 4.1.1 released 50968b8 dist...

dependencies
javascript

I have been using this package in a JavaScript repo but the similar config does not work in a TypeScript based repo. I am getting errors reported in VS Code...