I've replaced `lodash` with `lodash-es`, so it can be tree-shaken `~/modules` is a directory with application modules that run before app is mounted. Useful for configuration, web socket connection, and other stuff `~/composables` is a directory with our custom composables. Much like `~/utils` but each util is in its own file
33 lines
675 B
JavaScript
33 lines
675 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true
|
|
},
|
|
extends: [
|
|
'plugin:vue/recommended',
|
|
'@vue/typescript/recommended',
|
|
'@vue/standard'
|
|
|
|
],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly'
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: 'module'
|
|
},
|
|
plugins: [
|
|
'vue'
|
|
],
|
|
rules: {
|
|
'vue/no-v-html': 'off', // TODO: tackle this properly
|
|
'vue/no-use-v-if-with-v-for': 'off',
|
|
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
'no-undef': 'off',
|
|
// TODO: Enable typescript rules later
|
|
'@typescript-eslint/no-this-alias': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off'
|
|
}
|
|
}
|