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
  • Issues
  • #1218
Closed
Open
Issue created Dec 09, 2016 by Administrator@rootContributor

Weird lint output

Created by: gaearon

Something I noticed in a project:

Compiled with warnings.

Warning in ./src/App.js

/Users/gaearon/p/pixelpaint/src/App.js
  45:49  warning  Unexpected mix of '&&' and '||'  no-mixed-operators
  46:44  warning  Unexpected mix of '&&' and '||'  no-mixed-operators

✖ 2 problems (0 errors, 2 warnings)


Warning in ./~/babel-loader?{"babelrc":false,"presets":["/Users/gaearon/p/pixelpaint/~/babel-preset-react-app/index.js"],"cacheDirectory":true}!./~/eslint-loader!./src/ReduxCanvasV3.js

/Users/gaearon/p/pixelpaint/src/ReduxCanvasV3.js
  25:5  warning  Expected a default case  default-case

✖ 1 problem (0 errors, 1 warning)


You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

What's the deal with Warning in ./~/babel-loader?{"babelrc":false,"presets":["/Users/gaearon/p/pixelpaint/~/babel-preset-react-app/index.js"],"cacheDirectory":true}!./~/eslint-loader!./src/ReduxCanvasV3.js? We should fix this to show a normal filename instead.

Assignee
Assign to
Time tracking