@webpieces/eslint-rules
v0.2.127
Published
ESLint rules for WebPieces code patterns and architecture enforcement
Readme
@webpieces/eslint-rules
ESLint rules for WebPieces code patterns and architecture enforcement.
Rules
catch-error-pattern- Enforce toError() usage in catch blocksno-unmanaged-exceptions- Discourage try-catch outside testsmax-method-lines- Enforce maximum method lengthmax-file-lines- Enforce maximum file lengthenforce-architecture- Enforce architecture dependency boundariesno-json-property-primitive-type- Ban @JsonProperty({ type: String/Number/Boolean })require-typed-template- Require [templateClassType] on ng-template with let- variables (Angular)no-mat-cell-def- Ban *matCellDef/*matHeaderCellDef — use div-grid tables (Angular)
