From 70efcfeaa0603415dd992cb662d8efb960e6e49a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 26 Sep 2023 15:54:28 +0200 Subject: refactor(routes): replace hardcoded routes with constants It makes it easier to change a route if needed and it avoid typo mistakes. I also refactored a bit the concerned files to be complient with the new ESlint config. However, I should rewrite the pages to reduce the number of statements. --- .cspell/project-words.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to '.cspell/project-words.txt') diff --git a/.cspell/project-words.txt b/.cspell/project-words.txt index 9e5b1c3..c2e8973 100644 --- a/.cspell/project-words.txt +++ b/.cspell/project-words.txt @@ -7,6 +7,7 @@ commitlint formatjs Gitlab Jamstack +LINKEDIN nextjs nosniff postbuild @@ -14,6 +15,7 @@ predev prismjs rehype SAMEORIGIN +Shaarli stylelint svgr thematics -- cgit v1.2.3