Add linters and pre-commit hook

This commit is contained in:
Pranav Raj Sreepuram
2019-08-21 10:27:57 +05:30
parent d8702aa8aa
commit 6e4fec2b55
9 changed files with 2898 additions and 70 deletions

View File

@@ -37,7 +37,7 @@ Vue.component('multiselect', Multiselect);
Vue.component('woot-switch', WootSwitch);
Vue.component('woot-wizard', WootWizard);
Object.keys(i18n).forEach((lang) => {
Object.keys(i18n).forEach(lang => {
Vue.locale(lang, i18n[lang]);
});
@@ -49,12 +49,12 @@ commonHelpers();
window.WootConstants = constants;
window.axios = createAxios(axios);
window.bus = new Vue();
window.onload = function () {
window.onload = () => {
window.WOOT = new Vue({
router,
store,
template: '<App/>',
components: { App },
}).$mount('#app');
}
};
window.pusher = vuePusher.init();