All Questions
6 questions
5
votes
1
answer
16k
views
Module build failed (from ./node_modules/eslint-loader/index.js): Error: Cannot find module 'eslint/lib/formatters/stylish'
npm run serve was working fine, suddenly it started giving the same error. I am not able to understand the root cause of it and why it isn't working. Can anyone suggest how to resolve this issue?
"...
3
votes
2
answers
11k
views
Why I can't use debugger or console.log on my Vue app
I just created a new Vue app through Vue CLI but I can't use either debugger or console.log otherwise I get an error in the browser, why and how can I allow it ?
Unexpected 'debugger' statement (no-...
3
votes
0
answers
3k
views
How to run eslint in different folders
I came into a eslint problem.
Generally, we have src folder side by side with package.json, like this:
|-projectName
|- src
|- .eslintrc.js
|- package.json
|- vue.config.js
Then i want to ...
0
votes
2
answers
2k
views
vue-cli linting throwing camelcase warning when the rule is disabled
I'm building an app with vue-cli, using airbnb rules to lint.
Despite me adding a rule to my .eslintrc.js config file, and the rule appying on other files, this particular variable in my Welcome.vue ...
1
vote
1
answer
4k
views
Vue - Disable Eslint
I did some research, but could not find a quick fix to this situation:
Vue-cli 3.4.0 - Webpack 4.29.0
My project does not have config/index.js as mentioned here.
I tried to open vue.config.js and ...
6
votes
3
answers
8k
views
"Parsing error: Unexpected token < ..." using VueCli3 and airbnb eslint
I know this may seem like a duplicate question, I still get this type of eslint errors after trying the following:
https://github.com/prettier/prettier/issues/3720 (i already installed eslint-plugin-...