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
Make max-lines
report the actual number of lines
#6766
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
Comments
jrencz
added a commit
to jrencz/eslint
that referenced
this issue
Jul 26, 2016
…int#6766) Instead of reporting only that `max` value has been exceeded it now also reports how many lines there is in the file.
platinumazure
added
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
and removed
triage
An ESLint team member will look at this issue soon
labels
Jul 27, 2016
Seems reasonable to me. 👍 |
Ops, sorry, never mind. |
jrencz
added a commit
to jrencz/eslint
that referenced
this issue
Aug 4, 2016
…int#6766) Instead of reporting only that `max` value has been exceeded it now also reports how many lines there is in the file.
I believe this improves developer experience, and it's a pretty simple change, so I'm willing to champion this rule enhancement. We need 2 more 👍's from the team and we can mark this as accepted. |
👍 |
1 similar comment
👍 |
vitorbal
added
accepted
There is consensus among the team that this change meets the criteria for inclusion
and removed
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
labels
Aug 4, 2016
jrencz
added a commit
to jrencz/eslint
that referenced
this issue
Aug 4, 2016
…int#6766) Instead of reporting only that `max` value has been exceeded it now also reports how many lines there is in the file.
eslint-deprecated
bot
added
the
archived due to age
This issue has been archived; please open a new issue for any further discussion
label
Feb 6, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
What version of ESLint are you using?
3.1.1
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
n/a
What did you do? Please include the actual source code causing the issue.
I enabled the max-lines rule
What did you expect to happen?
Rule should tell me how many lines each too long file has
What actually happened? Please include the actual, raw output from ESLint.
Rule only told me that the file is too long and what was the max allowed number of lines
The text was updated successfully, but these errors were encountered: