Passed
Push — v3 ( 2b006a...43f239 )
by Andrew
33:34 queued 16:32
created

src/assetbundles/retour/src/js/Import.js (4 issues)

1
import ImportDraggable from '@/vue/ImportDraggable.vue';
2
3
// Create our vue instance
4
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...
The variable Vue seems to be never declared. If this is a global, consider adding a /** global: Vue */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
The constant vm seems to be never used. Consider removing it.
Loading history...
5
    el: "#cp-nav-content",
6
    components: {
7
        'import-draggable': ImportDraggable,
8
    },
9
    data: {
10
    },
11
    methods: {
12
    },
13
    mounted() {
14
    },
15
});
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...
16
17
// Accept HMR as per: https://webpack.js.org/api/hot-module-replacement#accept
18
if (module.hot) {
19
    module.hot.accept();
20
}
21