for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import WidgetChart from '@/vue/WidgetChart.vue';
// Create our vue instance
const vm = new Vue({
vm
Vue
/** global: Vue */
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.
el: "#widget-content",
components: {
'widget-chart': WidgetChart,
},
data: {
methods: {
mounted() {
});
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.