question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking `eslint --init`

See original GitHub issue

Tell us about your environment I am using Windows 10. And trying to add eslint in my customized react application( Customized means, not used create-react-app to create application instead of that add all packages manually )

  • ESLint Version: 7.2.0
  • Node Version: 8.12.0
  • npm Version: 6.14.5

What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.

I just installed eslint and eslint-react-plugin package to my dev-dependency. And then using eslint --init command I am expecting eslint will be setup for me in the application as mentioned in documentation.

What did you expect to happen? As per documents after init command .eslintrc configuration file will be created.

What actually happened? Please include the actual, raw output from ESLint. Instead of there are errors on the command window, please see the attached the sceen-shot. eslint_issue

Are you willing to submit a pull request to fix this bug? IDK, I could try 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mdjermanoviccommented, Jun 18, 2020
0reactions
kaicataldocommented, Jun 25, 2020

Closing this issue since the question has been answered.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating to v8.0.0 - ESLint - Pluggable JavaScript Linter
We have made a few breaking changes in this release. This guide is intended to walk you through the breaking changes. The lists...
Read more >
'eslint --init' installs wrong versions of depencies for AirBnB ...
however, because eslint configs need to use peerDeps, any time a breaking change peerDep of the config is released, this problem will re-present ......
Read more >
ESLint not working in VS Code? - Stack Overflow
I have use the command eslint --init to add the basic .eslintrc.json to the main directory of my package. Other people were able...
Read more >
How To Lint and Format Code with ESLint in Visual Studio Code
Using the npm init command to initialize your project will create a package.json file in the vscode-eslint-example directory.
Read more >
Installing and using ESLint on your existing JavaScript code
ESLINT helps to increase productivity, write your code according to standard and flag errors when your codebase is breaking style guide ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found