-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- Enhanched the require rule with an extra required attribute from.bind, this or the from are now required #194
base: develop
Are you sure you want to change the base?
Conversation
…nd, this or the from are now required. - Removed unused imports/parameters; - Some other code clean up and update the README.MD;
@LittleGnome We actually don't support binding the |
But when we use it as followed, it's totally fine, but Aurelia template linter doesn' |
@LittleGnome I have to be honest, I'm not sure how that is working. Let me loop in @bigopon . Perhaps there was some change at some point I'm unaware of that enables that to work. |
Hello @bigipon, do you have some time to look into this pull request? |
Oops, missed this. Ill ha e a look in a few hours |
|
||
if (name != 'require') | ||
return; | ||
|
||
let result = attrs.find(x => (<any>x).name == 'from'); | ||
let result = attrs.find(x => x.name === 'from' || x.name === 'from.bind'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't support fromt.bind
in <require/>
, may I know why this was added?
Make sure you check the following:
develop
branchfix #
gulp test
and it passes the lintNote: Requests to pull into master from a fork will be rejected.