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

Weird lint output #1218

gaearon opened this Issue Dec 9, 2016 · 0 comments


None yet
1 participant

gaearon commented Dec 9, 2016

Something I noticed in a project:

Compiled with warnings.

Warning in ./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

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment