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

13
config/webpack/resolve.js Normal file
View file

@ -0,0 +1,13 @@
const path = require('path');
const resolve = {
extensions: ['', '.js', '.vue'],
alias: {
vue$: 'vue/dist/vue.common.js',
src: path.resolve('./app/javascript/src'),
assets: path.resolve('./app/javascript/src/assets'),
components: path.resolve('./app/javascript/src/components'),
},
};
module.exports = resolve;