Skip to content
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

The usage of this.attrs in components is discouraged #64

Open
m-adler opened this issue Dec 22, 2018 · 1 comment
Open

The usage of this.attrs in components is discouraged #64

m-adler opened this issue Dec 22, 2018 · 1 comment

Comments

@m-adler
Copy link
Contributor

m-adler commented Dec 22, 2018

ESLint is complaining about this.attrs.

/home/travis/build/btecu/ember-cli-bootstrap-datetimepicker/addon/addon/-private/dynamic-attribute-bindings.js
  11:26  error  Do not use this.attrs  ember/no-attrs-in-components

https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-attrs-in-components.md

@m-adler m-adler mentioned this issue Dec 22, 2018
@btecu
Copy link
Owner

btecu commented Dec 30, 2018

I wonder if there's a better way to iterate over passed arguments. Is this.args available yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants