An ESLint plugin providing lint rules for CodeceptJS test files. Version 1.3.0 is the latest stable release, with a low release cadence (latest in 2020). It includes rules to prevent common testing anti-patterns: no-exclusive-tests (focusing tests), no-disabled-tests (skipping), no-actor-in-scenario (forcing page objects), and no-pause-in-scenario (removing debug pauses). Unlike generic ESLint rules, it understands CodeceptJS globals (I, Scenario, Data) and provides a recommended config for easy setup. It is fixable for three of its four rules, automatically removing `.only`, `.skip`, and `pause()` calls.
npm install eslint-plugin-codeceptjsVerified import paths — ran on the pinned version, not inferred.
Setup with full plugin config and example test file that triggers no-exclusive-tests, no-skipped-tests, and no-pause-in-scenario rules.
Replace 'no-disabled-tests' with 'no-skipped-tests' in your ESLint config.
Set env to { 'codeceptjs/codeceptjs': true } in your ESLint config.Use fix: false on the rule or manually review removals.
Override rule severity in your config, e.g., 'codeceptjs/no-pause-in-scenario': 'warn'.
Update to 'no-skipped-tests' in your ESLint config.
Run 'npm install eslint-plugin-codeceptjs --save-dev' (or global flag if ESLint is global).
Change env to { 'codeceptjs/codeceptjs': true }.Use 'extends: ['plugin:codeceptjs/recommended']'.
Prefix rule with 'codeceptjs/', e.g., 'codeceptjs/no-exclusive-tests'.