Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !50

Make errors and warnings nicer

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge nicer-output into master Jul 20, 2016
  • Overview 2
  • Commits 3
  • Pipelines 0
  • Changes 6

Created by: gaearon

There is some hackery involved but I think the result is much better.

  1. I removed all code style rules because they are frustrating when linter is in your face
  2. I changed existing lint errors to warnings so they're less obtrusive
  3. Warnings now only appear if there are no errors
  4. Some long webpack warnings are trimmed
  5. Useless stack traces are removed
  6. When there is a syntax error, duplicate parse error from linter is skipped
  7. The terminal is cleared on every file save
  8. "Bundle is VALID/INVALID" is replaced by better messages
  9. import rules are (temporarily?) disabled because of caching issue described in eslint file comments
  10. Added tips for ignoring lint warnings

Syntax error:

screen shot 2016-07-21 at 00 10 23

Lint warning:

screen shot 2016-07-21 at 00 10 40

Module not found error:

screen shot 2016-07-21 at 00 10 47

CSS parse error:

screen shot 2016-07-21 at 00 13 04
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: nicer-output