File tree Expand file tree Collapse file tree 4 files changed +21
-10
lines changed
Expand file tree Collapse file tree 4 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,11 @@ export const generateMetadata = async (
100100 ...config . site ,
101101 environment : process . env . NEXT_PUBLIC_ISOMER_NEXT_ENVIRONMENT ,
102102 // TODO: fixup all the typing errors
103- // @ts -expect-error to fix when types are proper
103+ // @ts -ignore to fix when types are proper
104104 siteMap : sitemap ,
105105 navbar : navbar ,
106106 // TODO: fixup all the typing errors
107- // @ts -expect-error to fix when types are proper
107+ // @ts -ignore to fix when types are proper
108108 footerItems : footer ,
109109 lastUpdated,
110110 assetsBaseUrl : process . env . NEXT_PUBLIC_ASSETS_BASE_URL ,
@@ -124,11 +124,11 @@ const Page = async (props: DynamicPageProps) => {
124124 ...config . site ,
125125 environment : process . env . NEXT_PUBLIC_ISOMER_NEXT_ENVIRONMENT ,
126126 // TODO: fixup all the typing errors
127- // @ts -expect-error to fix when types are proper
127+ // @ts -ignore to fix when types are proper
128128 siteMap : sitemap ,
129129 navbar : navbar ,
130130 // TODO: fixup all the typing errors
131- // @ts -expect-error to fix when types are proper
131+ // @ts -ignore to fix when types are proper
132132 footerItems : footer ,
133133 lastUpdated,
134134 assetsBaseUrl : process . env . NEXT_PUBLIC_ASSETS_BASE_URL ,
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ export const generateMetadata = async (
3838 ...config . site ,
3939 environment : process . env . NEXT_PUBLIC_ISOMER_NEXT_ENVIRONMENT ,
4040 // TODO: fixup all the typing errors
41- // @ts -expect-error to fix when types are proper
41+ // @ts -ignore to fix when types are proper
4242 siteMap : sitemap ,
4343 navbar : navbar ,
4444 // TODO: fixup all the typing errors
45- // @ts -expect-error to fix when types are proper
45+ // @ts -ignore to fix when types are proper
4646 footerItems : footer ,
4747 lastUpdated,
4848 assetsBaseUrl : process . env . NEXT_PUBLIC_ASSETS_BASE_URL ,
@@ -65,12 +65,12 @@ const NotFound = () => {
6565 ...config . site ,
6666 environment : process . env . NEXT_PUBLIC_ISOMER_NEXT_ENVIRONMENT ,
6767 // TODO: fixup all the typing errors
68- // @ts -expect-error to fix when types are proper
68+ // @ts -ignore to fix when types are proper
6969
7070 siteMap : sitemap ,
7171 navbar : navbar ,
7272 // TODO: fixup all the typing errors
73- // @ts -expect-error to fix when types are proper
73+ // @ts -ignore to fix when types are proper
7474 footerItems : footer ,
7575 assetsBaseUrl : process . env . NEXT_PUBLIC_ASSETS_BASE_URL ,
7676 } }
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ export default function robots(): MetadataRoute.Robots {
2222 ...config . site ,
2323 environment : process . env . NEXT_PUBLIC_ISOMER_NEXT_ENVIRONMENT ,
2424 // TODO: fixup all the typing errors
25- // @ts -expect-error to fix when types are proper
25+ // @ts -ignore to fix when types are proper
2626 siteMap : sitemap ,
2727 navbar : navbar ,
2828 // TODO: fixup all the typing errors
29- // @ts -expect-error to fix when types are proper
29+ // @ts -ignore to fix when types are proper
3030 footerItems : footer ,
3131 lastUpdated,
3232 } ,
Original file line number Diff line number Diff line change @@ -10,4 +10,15 @@ export default [
1010 ...baseConfig ,
1111 ...reactConfig ,
1212 ...nextjsConfig ,
13+ {
14+ files : [ "**/*.ts" , "**/*.tsx" ] ,
15+ rules : {
16+ "@typescript-eslint/ban-ts-comment" : [
17+ "error" ,
18+ {
19+ "ts-ignore" : "allow-with-description" ,
20+ } ,
21+ ] ,
22+ } ,
23+ } ,
1324]
You can’t perform that action at this time.
0 commit comments