File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.4.23
4+
5+ - Add ` "metadata" ` , ` "generateMetadata" ` & ` "generateViewport" ` to ` allowExportNames ` in Next config
6+
37## 0.4.22
48
59- Add ` "viewport" ` to ` allowExportNames ` in Next config ([ #89 ] ( https://github.com/ArnaudBarre/eslint-plugin-react-refresh/pull/89 ) )
Original file line number Diff line number Diff line change 11{
22 "name" : " eslint-plugin-react-refresh" ,
3- "version" : " 0.4.22 " ,
3+ "version" : " 0.4.23 " ,
44 "type" : " module" ,
55 "license" : " MIT" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ export const configs = {
2929 "react-refresh/only-export-components" : [
3030 "error" ,
3131 {
32- // from https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config
3332 allowExportNames : [
33+ // https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config
3434 "experimental_ppr" ,
3535 "dynamic" ,
3636 "dynamicParams" ,
@@ -39,7 +39,12 @@ export const configs = {
3939 "runtime" ,
4040 "preferredRegion" ,
4141 "maxDuration" ,
42+ // https://nextjs.org/docs/app/api-reference/functions/generate-metadata
43+ "metadata" ,
44+ "generateMetadata" ,
45+ // https://nextjs.org/docs/app/api-reference/functions/generate-viewport
4246 "viewport" ,
47+ "generateViewport" ,
4348 ] ,
4449 } ,
4550 ] ,
You can’t perform that action at this time.
0 commit comments