aurelia / template-lint

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

Allow if.bind and repeat.for only on template tag (optional rule) #144

Open zakjan opened 7 years ago

zakjan commented 7 years ago
<template>
    <div if.bind="..."></div> <!-- should warn -->
    <div repeat.for="..."></div> <!-- should warn -->
    <template if.bind="..."></template> <!-- ok -->
    <template repeat.for="..."></template> <!-- ok -->
</template>

My usecase is to have cleaner templates, where control flow attributes are not hidden amongst presentational attributes.