Comments (3)
I'll send a PR shortly
from template-lint.
Done. I created new rule ConflictingAttributesRule, that is also turned on by default.
The rule has by default one set of attributes to check "repeat.for", "if.bind", "with.bind"
. Another sets of attributes can be added (or even defaults replaced) by passing array of ConflictingAttributes
to the constructor.
I didn't update derived files intentionally, to avoid conflicts with other changes. After the merge gulp test
should be run to update other files as well.
I've also added some tests.
from template-lint.
At the time of writing this comment, i remembered that i forgot to add "if.one-time" and etc to the defaults (way too sleepy to do it right now)
from template-lint.
Related Issues (20)
- Ensure matching if - else attributes HOT 1
- TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined Ln -1 Col -1 HOT 4
- conflicting attributes even if I use template for the if binding HOT 2
- Anonymous interfaces embedded in other interfaces should be type-checked HOT 1
- Ignore feature
- Base class properties not found
- Integration with aurelia-validation
- npm dependency on gulp should be a devDependency HOT 3
- Optional properties inherited from interface not detected HOT 1
- Support type alias
- Support implicitly typed properties
- New rule for Aurelia plugins(and server side rendering): fail when using globals, that don't work with aurelia-pal-nodejs HOT 5
- Catch usages of "this" in bindings
- ViewEngineHooks
- Project Handover HOT 7
- Spread operator bug
- Binding access check when view model is in different folder
- False positive "duplicated id" combined with if.bind
- Publish new version (ie. from 0.9.25 to 0.9.26) HOT 20
- fs.readdir is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template-lint.