template-lint
template-lint copied to clipboard
Sanity check of Aurelia-flavor template HTML
when bar.ts is: ```ts useView("foo.html") export class Bar{} ``` and ray.ts is ```ts export class Ray{ getViewStrategy() { return 'foo.html'; } } ``` then `foo.html` should resolve to view-models `["bar.ts",...
As per aurelia/binding#64 assigning an array value by index does not notify subscribers. It would be nice if a warning could be generated if this encountered.
```html ``` should raise an issue (not supported)
May be useful to lint aria attributes and assign (static / binded) value? Needs to be fleshed out what to check for. @EisenbergEffect aren't you going to have the [same...
@dagtveit [stumbled upon issue](https://github.com/aurelia/framework/issues/664) related to having two instances of the same module that was intended to be singleton: > I am trying to share a service class across nested...
``` class TestViewModel { value: number; nullableCollection: string[] | undefined; } ${item} ${item} ${item} ```
``` ``` My usecase is to have cleaner templates, where control flow attributes are not hidden amongst presentational attributes.
item.ts ``` import {bindable} from "aurelia-templating"; export class ItemCustomElement { @bindable value: string; } ``` item.html ``` ${value} ``` page.ts ``` export class PageViewModel { value: number; } ``` page.html...
>given a html container, when it has a `` child then ensure that the template has a template-controller and ensure contents are valid for the root html container. example: ```html...
```html hello world ``` will be left unprocessed by aurelia and not show up.