Cleanup eslintrc

environments/review-front-deve-otr6gc/deployments/13419
wvffle 2022-08-31 18:50:43 +00:00 zatwierdzone przez Georg Krause
rodzic b17941fc44
commit 8a27f350bb
2 zmienionych plików z 13 dodań i 14 usunięć

Wyświetl plik

@ -10,14 +10,14 @@ module.exports = {
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
SharedArrayBuffer: 'readonly',
Atomics: 'readonly'
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020,
sourceType: 'module'
sourceType: 'module',
ecmaVersion: 2020
},
plugins: [
'vue'
@ -27,21 +27,20 @@ module.exports = {
'operator-linebreak': ['error', 'before'],
// NOTE: Handled by typescript
'no-undef': 'off',
'no-redeclare': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-use-before-define': 'off',
'no-unused-vars': 'off',
'no-redeclare': 'off',
'no-undef': 'off',
// TODO (wvffle): VUI and #1618
// TODO (wvffle): Remove after VUI and #1618
'vue/multi-word-component-names': 'off',
'import/extensions': 'off',
// TODO (wvffle): Enable these rules later
'vue/multi-word-component-names': 'off',
// TODO (wvffle): Remove after embeded player migration
'@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off',
// TODO (wvffle): Migrate to pinia
// TODO (wvffle): Remove after API Client
'@typescript-eslint/no-explicit-any': 'off'
}
}

Wyświetl plik

@ -14,7 +14,7 @@ interface Props {
const emit = defineEmits<Events>()
const props = withDefaults(defineProps<Props>(), {
action: () => {},
action: () => undefined,
disabled: false,
confirmColor: 'danger'
})