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

Overview of lint errors in web interface #40

Open
5 tasks
Robbert opened this issue May 19, 2016 · 0 comments
Open
5 tasks

Overview of lint errors in web interface #40

Robbert opened this issue May 19, 2016 · 0 comments
Assignees
Labels

Comments

@Robbert
Copy link
Member

Robbert commented May 19, 2016

The command line output of eslint and npm test leaves something to be desired: a good overview.

  • We should try log the errors and warnings to JSON files
    • Store eslint output using for example: eslint -f json > tmp/eslint.json
  • Load the tmp/eslint.json in using the new fetch() standard in a browser script
  • Include lodash from somewhere in node_modules/lodash/
  • Use a lodash method to group all the errors from eslint.json and show how many errors there are for each error type, sorted by number of errors

Perhaps a good place to store the output for now is tmp/, this path should already be excluded using.gitignoreandgulpfile.js`.

Best to try this in the robbert/wealth repository on BitBucket until we've got something working really well.

@Robbert Robbert added this to the Epic Reporting milestone May 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants