Skip to content

Weird lint output #1218

Closed
Closed
@gaearon

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions