for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import VeeValidate from 'vee-validate';
Vue.use(VeeValidate);
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.
// Create our vue instance
const vm = new Vue({
vm
el: "#cp-nav-content",
components: {
},
data: {
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.
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.