@echelon-framework/eslint-plugin
v0.7.1
Published
ESLint rules wymuszające kontrakty frameworka Echelon (smart/dumb, security, testability).
Maintainers
Readme
@echelon-framework/eslint-plugin
ESLint rules enforcing Echelon framework contracts and best practices.
Part of the Echelon Framework — Angular-based, config-driven dashboard & low-code platform.
Installation
npm install -D @echelon-framework/eslint-pluginConfiguration
// eslint.config.js
import echelon from '@echelon-framework/eslint-plugin';
export default [...echelon.configs.recommended];Rules
| Rule | Description | Default |
| ---------------------------------- | ----------------------------------------------------------- | ------- |
| echelon/no-direct-databus | Disallow direct DataBus injection in widgets (use bindings) | error |
| echelon/widget-manifest-required | Require manifest in @EchelonWidget | error |
| echelon/no-mutable-config | PageConfig must be readonly | warn |
| echelon/handler-action-types | Validate EventAction shape in handlers | error |
License
BUSL-1.1
