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

Could no-identical-names reference the line number of the previous test/module? #62

Closed
platinumazure opened this issue Apr 11, 2017 · 3 comments

Comments

@platinumazure
Copy link
Owner

Wondering if it would be a good idea to have no-identical-names reference the line number of the test/module with the same name.

For example, the message could say something like, "Test name is used on line 320 in the same module" or "Module name is used on line 25". As the module is storing test/module names, it would just store the current line number as well and use that when generating the lint message.

@Turbo87, any thoughts on if this would be useful or feasible?

@Turbo87
Copy link
Contributor

Turbo87 commented Apr 12, 2017

@platinumazure something like that should easily be possible. I've done something similar already in ember-cli/eslint-plugin-ember#15

@platinumazure
Copy link
Owner Author

I'm going to start working on this.

@Turbo87
Copy link
Contributor

Turbo87 commented May 8, 2017

awesome! 😍

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