|
@@ -15,6 +15,22 @@ export async function vue(): Promise<Linter.Config[]> {
|
|
|
{
|
|
|
files: ['**/*.vue'],
|
|
|
languageOptions: {
|
|
|
+ // globals: {
|
|
|
+ // computed: 'readonly',
|
|
|
+ // defineEmits: 'readonly',
|
|
|
+ // defineExpose: 'readonly',
|
|
|
+ // defineProps: 'readonly',
|
|
|
+ // onMounted: 'readonly',
|
|
|
+ // onUnmounted: 'readonly',
|
|
|
+ // reactive: 'readonly',
|
|
|
+ // ref: 'readonly',
|
|
|
+ // shallowReactive: 'readonly',
|
|
|
+ // shallowRef: 'readonly',
|
|
|
+ // toRef: 'readonly',
|
|
|
+ // toRefs: 'readonly',
|
|
|
+ // watch: 'readonly',
|
|
|
+ // watchEffect: 'readonly',
|
|
|
+ // },
|
|
|
parser: parserVue,
|
|
|
parserOptions: {
|
|
|
ecmaFeatures: {
|