aurelia / template-lint

Sanity check of Aurelia-flavor template HTML
Apache License 2.0
56 stars 17 forks source link

- Enhanched the require rule with an extra required attribute from.bind, this or the from are now required #194

Open LittleGnome opened 4 years ago

LittleGnome commented 4 years ago

Make sure you check the following:

Note: Requests to pull into master from a fork will be rejected.

EisenbergEffect commented 4 years ago

@LittleGnome We actually don't support binding the from attribute of the require element. The require element is much like an ES2015 import and must be statically determined by the template compiler.

LittleGnome commented 4 years ago

But when we use it as followed, it's totally fine, but Aurelia template linter doesn' t accept is. `