Closed paulodiovani closed 4 years ago
There are some changes we should do to improve our code lint.
no-console
no-debugger
debug
console.log
tests/
This can be achieved by adding or changing:
// in package.json "lint": "vue-cli-service lint --no-fix --max-warnings 0 src/ backend/ tests/"
// in .eslintrc.js rules: { 'no-console': 'warn', 'no-debugger': 'warn', 'prefer-const': 'error', },
I'm working on this
There are some changes we should do to improve our code lint.
no-console
/no-debugger
rulesdebug
(https://www.npmjs.com/package/debug) module and use it instead ofconsole.log
tests/
folder as wellThis can be achieved by adding or changing: