eslint-plugin-protractor
eslint-plugin-protractor copied to clipboard
ESLint rules for Protractor
If inside a spec file, protractor specific code, which needs to be executed inside a control flow, is not put under `beforeEach()`, `afterEach()`, `beforeAll()`, `afterAll()` or `it()`, the rule should...
This is for rules `no-angular-classes` and `no-bootstrap-classes`.
We need to go through every rule and utility function and, if there is a jsdoc missing, add it. Similar to what `ESLint` has internally, example [here](https://github.com/eslint/eslint/blob/master/lib/rules/arrow-body-style.js#L59).
We should take [no-redeclare](https://github.com/eslint/eslint/blob/master/lib/rules/no-redeclare.js) rule as a base for `no-shadowing` rule as it approaches the problem in a simpler and more reliable way.
`no-expect-in-po` rule should support [`minimatch`](https://github.com/isaacs/minimatch) options via an additional configuration key, smthlike `pathsOptions` similar to what [`eslint-plugin-disable`](https://github.com/mradionov/eslint-plugin-disable) is providing.
Is there that we can support cucumber step_definitions as well for this rule?
This would probably require renaming the rule.
This is just to see if the plugin would not fail with an error during a static code analysis run (partially inspired by https://github.com/Gillespie59/eslint-plugin-angular/issues/260). TODO: find real-world protractor projects with...
TBD.
Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.0 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...