0

I don't like that it turns off console.log() but wherever I put my eslint file Vue just doesn't seem to know it exists.

Brian Patrick
  • 333
  • 5
  • 18

1 Answers1

1

I add my .eslint.js file in the project root folder (at the same level of package.json) no in the src folder.

If you are not sure where to put such configuration files you may want to check out the updated vue-cli which does a lot of annoying work for you and this blog.

Hope this helps!

dnhyde
  • 1,265
  • 2
  • 14
  • 24
  • 1
    Since I'm new to using eslint the rules are actually in `package.json` in the vue project directory as well. I didn't think to look there first... – Brian Patrick May 30 '18 at 02:28