feat: add prettier config #459
Annotations
1 error and 10 warnings
test
Process completed with exit code 1.
|
test:
basics/assets-metadata-css-starter/pages/index.js#L60
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
test:
basics/basics-final/pages/api/hello.js#L1
Assign arrow function to a variable before exporting as module default
|
test:
basics/demo/pages/api/hello.js#L1
Assign arrow function to a variable before exporting as module default
|
test:
basics/learn-starter/pages/index.js#L59
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
test:
basics/navigate-between-pages-starter/pages/index.js#L59
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
test:
basics/typescript-final/pages/api/hello.ts#L3
Assign arrow function to a variable before exporting as module default
|
test:
dashboard/starter-example/app/ui/invoices/table.tsx#L29
Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
test:
dashboard/starter-example/app/ui/invoices/table.tsx#L87
Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
test:
seo/demo/pages/index.js#L22
A font-display parameter is missing (adding `&display=optional` is recommended). See: https://nextjs.org/docs/messages/google-font-display
|
test:
seo/demo/pages/index.js#L22
Custom fonts not added in `pages/_document.js` will only load for a single page. This is discouraged. See: https://nextjs.org/docs/messages/no-page-custom-font
|