1

I created vue cli project without eslint option.
But now I want to try to test it. How to add ESLint in existing vue cli project?

4
  • 1
    Stack exchange is not the place for how to? Please specify any issues or errors that you get while addressing your problem. Commented Oct 25, 2018 at 9:57
  • please , write on business Commented Oct 25, 2018 at 10:32
  • Pointing what's considered best practice and what should be avoided at SO is on business. Refer to stackoverflow.com/help/how-to-ask . Your question lacks research efforts, hence is not that well recieved. You also haven't shown your setup so it's harder not to wild-guess to answer. Perhaps this Q&A may be helpful: stackoverflow.com/q/38757069/3995261 but you haven't specified if you use webpack, what your config/index.js looks like etc. You haven't even shown the line you used to create the project to make your issue reproducible. Doing so will increase chanses of getting Commented Oct 25, 2018 at 15:51
  • 1
    a proper answer. Commented Oct 25, 2018 at 15:55

1 Answer 1

2

Just execute npm i --save @vue/cli-plugin-eslint

Docs can be found here for more details.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, i found description here: cli.vuejs.org/guide/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.