template-lint
template-lint copied to clipboard
Sanity check of Aurelia-flavor template HTML
``` html ... ``` should create local variables (unknown type) in the root context. sub-property access of bindables is unknown and should be ignored. ~~Likely to throw errors at present.~~...
I am using ViewEngineHooks for TS enums. aurelia-template-lint gives error when such an enum is used in Aurelia view. > ERROR: cannot find 'someEnum' in type 'someViewModel' Is there any...
Either by copy/paste or unintentional manual entry, I've caught myself a few times doing something like _this_... ``` ... ^^^^ ``` ... instead of ... ``` ... ``` It'd be...
# Motivation To be able to run Aurelia code on NodeJS (with aurelia-pal-nodejs) in addition to running it in browser, using browser globals (such as `window` and browser DOM `Element`)...
Consider a view: ``` ``` and a view model: ``` export class ViewModel { data = { property1: 'test', property2: '' }; } ``` aurelia-template-lint should output a warning that...
Consider a view: ``` ``` and a view model: ``` type Alias = { property1: string; property2: string; }; export class ViewModel { data: Alias = { property1: 'test', property2:...
- [x] Custom Elements - [x] Custom Attributes - [x] Value Converters - [x] Binding Behaviors - [x] Calls to config.globalResources - [ ] ensure paths exist - [ ]...
Here's an example: **model.ts** ``` export interface Entity { pending?: boolean; // note the question mark! } export class Language implements Entity { name: string; } ``` **app.ts** ``` import...
Hi, Is it possible in any way to ignore certain files, or even better, custom elements from being checked? We are using the Kendo bridge in our project and the...
I'm getting (with a few of my html files): WARNING: TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined Ln -1 Col -1 /src/analysis/vg-selection.html And I don't see anything special in the...