Passed
Push — v1 ( 90d4e1...ac3526 )
by Andrew
19:00 queued 09:31
created

src/assetbundles/transcoder/src/js/Welcome.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 22
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 22
rs 10
c 0
b 0
f 0
wmc 2
mnd 1
bc 1
fnc 1
bpm 1
cpm 2
noi 3
1
import Vue from 'vue';
2
import Confetti from '../vue/Confetti.vue';
3
4
// Create our vue instance
5
const vm = new Vue({
0 ignored issues
show
Coding Style introduced by
The opening parenthesis of a multi-line function call should be the last content on the line.
Loading history...
Unused Code introduced by
The constant vm seems to be never used. Consider removing it.
Loading history...
6
    el: "#cp-nav-content",
7
    delimiters: ["${", "}"],
8
    components: {
9
        'confetti': Confetti,
10
    },
11
    data: {
12
    },
13
    methods: {
14
    },
15
    mounted() {
16
    },
17
});
0 ignored issues
show
Coding Style introduced by
For multi-line function calls, the closing parenthesis should be on a new line.

If a function call spawns multiple lines, the coding standard suggests to move the closing parenthesis to a new line:

someFunctionCall(
    $firstArgument,
    $secondArgument,
    $thirdArgument
); // Closing parenthesis on a new line.
Loading history...
18
19
// Accept HMR as per: https://webpack.js.org/api/hot-module-replacement#accept
20
if (module.hot) {
21
    module.hot.accept();
22
}
23