Vue-cli 3.0 removes strict mode

because the third-party package uses syntax that is not supported by strict mode such as callee, and the scaffolding has its own strict mode, try to configure the following
clipboard.png
in package.json, and try to configure it in vue.config.js, but it is not realized. If you have a partner who knows, please answer, thank you

first.

find the .eslintignore file in the root directory, add the file or path that needs to ignore the check


look up the eslint official website and find a sentence
clipboard.png
ide/configuring-sharpeslintignore" rel="nofollow noreferrer">https://eslint.org/docs/user-...
node_modules
.eslintignore
clipboard.png
or blog / src or / src/*.js and so on. I have tried a lot, but I can't remove the strict mode in my own file (for example, I wrote testVal = 123in my js file. Console.log (testVal) ), keep reporting an error testVal is not defined and please reply if you know. Thank you.

Menu