Closed ishowman closed 2 years ago
That's really can not fix
@gxmari007 @ishowman @IndexXuan @ricardogobbosouza any update
npm run dev --fix
> dev
> vite
VITE v3.1.2 ready in 667 ms
➜ Local: http://localhost:5173/
➜ Network: http://192.168.64.9:5173/
LARAVEL v9.28.0 plugin v0.5.4
➜ APP_URL: http://localhost:8010
4:20:45 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue
4:20:45 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue?vue&type=style&index=0&lang.css
4:20:46 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue
4:20:46 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue?vue&type=style&index=0&lang.css
4:20:46 PM [vite] ✨ new dependencies optimized: vue
4:20:46 PM [vite] ✨ optimized dependencies changed. reloading
4:20:47 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue
4:20:47 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue?vue&type=style&index=0&lang.css
4:20:47 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue
4:20:47 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue?vue&type=style&index=0&lang.css
4:20:56 PM [vite] hmr update /resources/js/components/SectionContentComponent.vue
4:20:56 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue
4:20:56 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue?vue&type=style&index=0&lang.css
4:29:55 PM [vite] vite.config.js changed, restarting server...
4:29:56 PM [vite] server restarted.
LARAVEL v9.28.0 plugin v0.5.4
➜ APP_URL: http://localhost:8010
4:29:58 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue
4:29:58 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue
4:29:59 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue?vue&type=style&index=0&lang.css
4:29:59 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue?vue&type=style&index=0&lang.css
4:30:04 PM [vite] vite.config.js changed, restarting server...
4:30:04 PM [vite] server restarted.
LARAVEL v9.28.0 plugin v0.5.4
➜ APP_URL: http://localhost:8010
4:30:06 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue
4:30:06 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue
4:30:06 PM [vite] warning:
/var/www/html/resources/js/components/MenuComponent.vue
29:13 warning Prop "sections" should define at least its type vue/require-prop-types
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/MenuComponent.vue?vue&type=style&index=0&lang.css
4:30:06 PM [vite] warning:
/var/www/html/resources/js/components/SectionContentComponent.vue
26:9 warning Prop 'section' requires default value to be set vue/require-default-prop
✖ 1 problem (0 errors, 1 warning)
Plugin: vite-plugin-eslint
File: /var/www/html/resources/js/components/SectionContentComponent.vue?vue&type=style&index=0&lang.css
config and dependency
package.json scripts
related npm dependencys
Eslint config:
.eslintrc.js
Steps
npm run lint
in terminalIs there something wrong with my config?