ESLint plugin providing lint rules specific to Protractor end-to-end tests for AngularJS applications. Current stable version is 2.1.1, last released in September 2019, with infrequent updates. It helps catch common Protractor errors, enforce best practices for element locators, and avoid deprecated API usage. Differentiates from general ESLint by focusing on Protractor-specific patterns, including rules for correct chaining, promise handling, and locator quality. The plugin is intended to be integrated into IDEs for real-time feedback during test development.
Verified import paths — ran on the pinned version, not inferred.
Plugin is typically used in .eslintrc config, not imported directly. If used programmatically, CommonJS require is expected. ESM import may not work without interop.
When configuring rules in .eslintrc, always prefix rule names with 'protractor/' to avoid conflicts with other plugins.
Use the 'plugin:' prefix to reference plugin configs. Omitting it will not load the config correctly.
Shows installation and basic configuration of eslint-plugin-protractor in .eslintrc to enable rules for Protractor test files.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.