template-lint icon indicating copy to clipboard operation
template-lint copied to clipboard

Sanity check of Aurelia-flavor template HTML

Results 61 template-lint issues
Sort by recently updated
recently updated
newest added

Aurelia supports quite a varied array of loaders some of which change the local context. For example: https://github.com/bryanrsmith/aurelia-binding-loader ``` html First Second ``` The comprehensive solution would be to actually...

feature-request
difficulty: hard

- Add `.md` files for rules, under `./doc/rules` should have: - title - issues reported - details about the issue and consequences - short example

task

```html Hello ${user.name}. Logout Please log in. ``` * for element with else attribute: * ensure immediate preceding sibling node (same parent), ignoring text-nodes, has an `if.bind` **example** ```html Please...

feature-request

avoid default conventions. mostly for plugins. * must use `@useView` or `@noView` * must use `@customElement`, `@customAttribute` * etc...

feature-request

## resolution: * support baseURL use-case. [see docs here](https://www.typescriptlang.org/docs/handbook/module-resolution.html#base-url) ## original: Not very common, but sometimes I have something like: **src/components/my-widget.ts**: ```ts import {Toggle} from "src/components/toggle"; export class MyWidget extends...

feature-request

currently when i try to use private field of VM from the template, i'll get a warning: `field 'privateField' in type 'MyCustomElement' has private access modifier` It would make sense,...

feature-request

A long term goal is to have a VS Code plug-in that provides contextual information about HTML templates, and highlight issues arising from bad bindings, bad type usage, etc... etc......

discussion
support

Stumbled across this: https://github.com/aurelia/binding/issues/307 So `` is converted to `test-step`. ~~Might be worth detecting camelcase and warning about it. Should have an option to disable rule in config.~~ given ```html...

feature-request
rule

allow changing the severity, in options, for each reported issue.

feature-request
difficulty: easy

item.ts ``` // string enum - see https://github.com/Microsoft/TypeScript/issues/3192 function mkenum(x: T): T { return x; } type enumType = T[keyof T]; export const ItemType = mkenum({ A: "A", B: "B",...

feature-request