@harnessed-ts/eslint-plugin
v0.2.0
Published
ESLint rules that enforce the harness authoring conventions mechanically.
Maintainers
Readme
@harnessed-ts/eslint-plugin
Five rules that turn the harness authoring conventions into a gate.
import harnessed from '@harnessed-ts/eslint-plugin'
export default [harnessed.configs.recommended] // or .strictno-page-or-screen-in-harness— the one violation that silently destroys the abstraction. Exempts a route'swaitForReady().require-host— a concrete harness with no@Harness({ host })require-wait-for-ready— a route with a missing or empty readiness checkno-reach-through-cast—(harness as unknown as { page }).pageno-raw-locator-in-test— a raw locator where a harness should be used
Full guide, the cross-driver guarantees, and the API: the harnessed README.
MIT © Joe Gaudet, Jay Seo
