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

Improve autoconfig debug logging #5119

Closed
IanVS opened this issue Feb 1, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@IanVS
Copy link
Member

commented Feb 1, 2016

It's difficult to troubleshoot autoconfig issues because of a lack of debug logging. Additional debug statements should be inserted to log out the name of files being processed, the constructed options that are used when linting, and (importantly) the results registry from which config decisions are made.

Additionally, parsing errors should be displayed to user regardless of debug mode. Otherwise, if code is unparsable by Espree, it is impossible for the user to tell why autoconfig failed.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

IanVS added a commit that referenced this issue Feb 1, 2016

IanVS added a commit that referenced this issue Feb 1, 2016

IanVS added a commit that referenced this issue Feb 6, 2016

IanVS added a commit that referenced this issue Feb 6, 2016

@gyandeeps gyandeeps closed this in a24d8ad Feb 7, 2016

gyandeeps added a commit that referenced this issue Feb 7, 2016

Merge pull request #5120 from eslint/issue5119
Fix: Improve autoconfig logging (fixes #5119)

@eslint eslint bot locked and limited conversation to collaborators Feb 6, 2018

@eslint eslint bot added the archived due to age label Feb 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.