Issues (6)

web/client/plugins/vue-warn.js (5 issues)

Severity
1
import Vue from 'vue'
2
3
const ignoreWarnMessage = 'The .native modifier for v-on is only valid on components but it was used on <svg>.'
4
Vue.config.warnHandler = (msg, vm, trace) => {
0 ignored issues
show
The parameter trace is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
The parameter vm is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
5
  if (msg === ignoreWarnMessage) {
6
    msg = null
0 ignored issues
show
The assignment to msg seems to be never used. If you intend to free memory here, this is not necessary since the variable leaves the scope anyway.
Loading history...
7
    vm = null
0 ignored issues
show
The variable vm seems to be never used. Consider removing it.
Loading history...
8
    trace = null
0 ignored issues
show
The variable trace seems to be never used. Consider removing it.
Loading history...
9
  }
10
}
11