@lifebound-labs/eslint-config
v0.2.0-beta.5
Published
Lifebound ESLint UX rules and CSS/HTML validation
Readme
Lifebound ESLint configuration
Shared UX/shadcn rule objects and CSS/HTML validation. This is development tooling; it has no application or React runtime dependency. ESLint 9 is the tested peer. The package currently remains private until the registry namespace is finalized.
Import lifeboundPlugins, lifeboundSettings and lifeboundRules from @lifebound-labs/eslint-config in an ESLint flat configuration. Add these to the consumer-owned files/languageOptions configuration; TypeScript parsing and framework-specific rules remain the caller's responsibility.
Use checkStaticFiles(files, { cwd }) from @lifebound-labs/eslint-config/checks for structured file/line/rule/message results. Pure inspectCSS and inspectHTML are available through @lifebound-labs/eslint-config/static. The lifebound-ux-check CLI accepts explicit CSS/HTML paths relative to the caller's working directory and fails on violations, missing/unsupported files, or an empty file list. --help prints usage.
test runs existing rule/static regression fixtures and the CLI boundary tests. verify:package packs the actual release contents, installs them outside the workspace and exercises ESLint, static exports and the CLI with installed code.
