Passed
Push — v1 ( 63c526...da15fc )
by Andrew
08:26 queued 05:04
created

src/assetbundles/webperf/src/js/widget.js (2 issues)

1
import Vue from 'vue';
2
import WidgetChart from '../vue/WidgetChart.vue';
3
4
// Create our vue instance
5
const vm = new Vue({
0 ignored issues
show
The opening parenthesis of a multi-line function call should be the last content on the line.
Loading history...
6
    el: "#widget-content",
7
    components: {
8
        'widget-chart': WidgetChart,
9
    },
10
    data: {
11
    },
12
    methods: {
13
    },
14
    mounted() {
15
    },
16
});
0 ignored issues
show
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...
17