2021-04-25 16:23:27 +00:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es6: true
|
|
|
|
},
|
|
|
|
extends: [
|
2022-05-01 11:45:07 +00:00
|
|
|
'plugin:vue/vue3-recommended',
|
2022-04-16 11:34:39 +00:00
|
|
|
'@vue/typescript/recommended',
|
|
|
|
'@vue/standard'
|
|
|
|
|
2021-04-25 16:23:27 +00:00
|
|
|
],
|
|
|
|
globals: {
|
|
|
|
Atomics: 'readonly',
|
|
|
|
SharedArrayBuffer: 'readonly'
|
|
|
|
},
|
2022-05-01 11:45:07 +00:00
|
|
|
parser: 'vue-eslint-parser',
|
2021-04-25 16:23:27 +00:00
|
|
|
parserOptions: {
|
2022-05-01 11:45:07 +00:00
|
|
|
parser: '@typescript-eslint/parser',
|
2022-02-21 19:08:44 +00:00
|
|
|
ecmaVersion: 2020,
|
2022-04-16 11:34:39 +00:00
|
|
|
sourceType: 'module'
|
2021-04-25 16:23:27 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
'vue'
|
|
|
|
],
|
|
|
|
rules: {
|
2022-04-30 13:25:59 +00:00
|
|
|
// NOTE: Handled by typescript
|
2022-04-17 22:43:58 +00:00
|
|
|
'no-undef': 'off',
|
2022-04-30 13:25:59 +00:00
|
|
|
'no-unused-vars': 'off',
|
2022-05-02 15:06:44 +00:00
|
|
|
'no-use-before-define': 'off',
|
2022-04-30 13:25:59 +00:00
|
|
|
|
2022-05-01 19:57:22 +00:00
|
|
|
// TODO (wvffle): Enable these rules later
|
|
|
|
'vue/multi-word-component-names': 'off',
|
2022-04-16 11:39:54 +00:00
|
|
|
'@typescript-eslint/no-this-alias': 'off',
|
2022-04-30 13:25:59 +00:00
|
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
|
|
|
2022-05-01 15:17:12 +00:00
|
|
|
// TODO (wvffle): Migrate to pinia
|
2022-05-01 14:35:58 +00:00
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
|
|
|
|
|
|
// TODO (wvffle): Migrate to <script setup>
|
|
|
|
'vue/require-explicit-emits': 'off'
|
2021-04-25 16:23:27 +00:00
|
|
|
}
|
|
|
|
}
|