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

Weird lint output #1218

Closed
gaearon opened this issue Dec 9, 2016 · 0 comments · Fixed by #1226
Closed

Weird lint output #1218

gaearon opened this issue Dec 9, 2016 · 0 comments · Fixed by #1226

Comments

@gaearon
Copy link
Contributor

gaearon commented Dec 9, 2016

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.

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant