{"id":19856,"library":"eslint-plugin-no-skip-tests","title":"eslint-plugin-no-skip-tests","description":"An ESLint plugin that enforces a rule against using describe.skip or it.skip in Mocha test suites. Version 1.1.0 is the current stable release, with no frequent updates. It differentiates itself by focusing solely on preventing skipped tests, complementing the sister plugin eslint-plugin-no-only-tests. Designed for teams that want to ensure no tests are accidentally skipped in CI.","status":"active","version":"1.1.0","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/romaingaillardjs/eslint-plugin-no-skip-tests","tags":["javascript","eslint","eslintplugin","eslint-plugin","mocha","rule","only","skip","describe"],"install":[{"cmd":"npm install eslint-plugin-no-skip-tests","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-plugin-no-skip-tests","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-plugin-no-skip-tests","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESLint automatically adds the 'eslint-plugin-' prefix when referencing a plugin by its short name.","wrong":"plugins: ['eslint-plugin-no-skip-tests']","symbol":"Plugin","correct":"plugins: ['no-skip-tests']"},{"note":"Rules must be prefixed with the plugin name/short name to avoid conflicts.","wrong":"rules: { 'no-skip-tests': 'error' }","symbol":"Rule: no-skip-tests","correct":"rules: { 'no-skip-tests/no-skip-tests': 'error' }"},{"note":"Do not confuse with eslint-plugin-no-only-tests, which enforces the opposite (no .only).","wrong":"plugins: ['no-only-tests']","symbol":"Plugin name (legacy)","correct":"plugins: ['no-skip-tests']"}],"quickstart":{"code":"// .eslintrc.json\n{\n  \"plugins\": [\"no-skip-tests\"],\n  \"rules\": {\n    \"no-skip-tests/no-skip-tests\": \"error\"\n  }\n}\n\n// test.js\n// eslint will error on the following:\ndescribe.skip('skipped suite', () => { it('test', () => {}); });\nit.skip('skipped test', () => {});\n// but will allow:\ndescribe('suite', () => { it('test', () => {}); });","lang":"javascript","description":"Configures the plugin in ESLint to error on describe.skip and it.skip calls."},"warnings":[{"fix":"Use separate rule or plugin for xdescribe/xit, or add custom rule.","message":"The plugin does not support xdescribe or xit (alternate Mocha APIs), only describe.skip and it.skip.","severity":"gotcha","affected_versions":"<=1.1.0"},{"fix":"Set rule to 1 in config.","message":"The default severity is 2 (error). To use as warning, set to 1.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Add 'no-skip-tests' to the plugins array.","cause":"Plugin not loaded in 'plugins' section.","error":"ESLint configuration in .eslintrc.json is invalid: 'no-skip-tests/no-skip-tests' is not found."},{"fix":"Run npm install --save-dev eslint-plugin-no-skip-tests.","cause":"eslint-plugin-no-skip-tests is not installed.","error":"Definition for rule 'no-skip-tests/no-skip-tests' was not found."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}