eslint shows problems in some files
hoanghadu opened this issue · 1 comments
eslint shows problems in VSCode. Is it required any extra configuration?
Here are the list of the problems:
components/content/Alert.vue:
Component name "Alert" should always be multi-word.eslintvue/multi-word-component-names
components/content/List.vue:
Component name "List" should always be multi-word.eslintvue/multi-word-component-names
components/content/AppNavbar.vue:
Property 'twitter' does not exist on type '{}'.ts(2339)
Property 'github' does not exist on type '{}'.ts(2339)
components/content/ColorModeSwitch.vue:
Type '{ placeholder: string; }' is not assignable to type 'ComponentProps<{ name: any; props: { placeholder: StringConstructor; tag: { type: StringConstructor; default: string; }; }; }>'.
Type '{ placeholder: string; }' is missing the following properties from type '{ name: any; props: { placeholder: StringConstructor; tag: { type: StringConstructor; default: string; }; }; }': name, propsts(2322)