Spaces:
Sleeping
Sleeping
Agent Instructions
Follow coding-guidlines.md for all code changes in this repository.
Important local rules:
- File suffixes are only used for
.specfiles. Do not create.component.tsor.service.tsfiles. - Event handlers are prefixed with
on. - Do not use one-letter variable names.
- Use injected property names that describe the injected dependency.
- Keep class members ordered as
public, thenprotected, thenprivate. Keep methods in the same order after the constructor. - Do not use
ascasts; use<T>casts. - Use
undefined, notnull. - Always use braces for
ifstatements. - Prefer
for..ofoverforEach. - Do not call methods from templates; use signals, computed values, or direct properties.
- Do not use
thisin templates. - Do not root-scope services automatically. If a file has no injected dependencies, make it a helper instead of a service.
- HTML attributes go on separate lines for larger elements, ordered as class, style bindings, class bindings, events.
- Source code and comments use English.
- Remove unused imports, files, and properties in files you touch.