Registry /
testing / eslint-plugin-no-skip-tests
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Plugin
✓ plugins: ['no-skip-tests']
✗ plugins: ['eslint-plugin-no-skip-tests']
ESLint automatically adds the 'eslint-plugin-' prefix when referencing a plugin by its short name.
Rule: no-skip-tests
✓ rules: { 'no-skip-tests/no-skip-tests': 'error' }
✗ rules: { 'no-skip-tests': 'error' }
Rules must be prefixed with the plugin name/short name to avoid conflicts.
Plugin name (legacy)
✓ plugins: ['no-skip-tests']
✗ plugins: ['no-only-tests']
Do not confuse with eslint-plugin-no-only-tests, which enforces the opposite (no .only).
Configures the plugin in ESLint to error on describe.skip and it.skip calls.
// .eslintrc.json
{
"plugins": ["no-skip-tests"],
"rules": {
"no-skip-tests/no-skip-tests": "error"
}
}
// test.js
// eslint will error on the following:
describe.skip('skipped suite', () => { it('test', () => {}); });
it.skip('skipped test', () => {});
// but will allow:
describe('suite', () => { it('test', () => {}); });
Errors
Common errors & fixes
ESLint configuration in .eslintrc.json is invalid: 'no-skip-tests/no-skip-tests' is not found.
Plugin not loaded in 'plugins' section.
fixAdd 'no-skip-tests' to the plugins array.
Definition for rule 'no-skip-tests/no-skip-tests' was not found.
eslint-plugin-no-skip-tests is not installed.
fixRun npm install --save-dev eslint-plugin-no-skip-tests.
Audit
Dependencies
No dependency data recorded yet.