From 03b37e8101e186cb2631b7d0161c016f91fe1f02 Mon Sep 17 00:00:00 2001 From: trizahl <121090956+trizahl@users.noreply.github.com> Date: Sun, 19 Jan 2025 05:37:49 +0100 Subject: [PATCH 1/2] Update .eslintrc.js --- .eslintrc.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 59670fc..a12f329 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,21 +13,29 @@ module.exports = { "simple-import-sort/imports": [ "error", { + "simple-import-sort/exports": "error", + groups: [ // Packages `react` related packages come first. ["^react", "^@?\\w"], + // Internal packages. ["^(@)(/.*|$)"], // Side effect imports. ["^\\u0000"], + "simple-import-sort/exports": "error", + // Parent imports. Put `..` last. ["^\\.\\.(?!/?$)", "^\\.\\./?$"], - // Other relative imports. Put same-folder imports and `.` last. + // Other relative imports. Put same-folder + imports and `.` last. ["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"], // Style imports. ["^.+\\.?(css)$"], ], }, + "simple-import-sort/exports": "error", + ], "simple-import-sort/exports": "error", }, From 22fb17ab312a7782d3b34d688a8f7afa14daadb8 Mon Sep 17 00:00:00 2001 From: trizahl <121090956+trizahl@users.noreply.github.com> Date: Wed, 22 Jan 2025 10:05:37 +0100 Subject: [PATCH 2/2] Update .npmrc --- .npmrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.npmrc b/.npmrc index 8abeb54..baacdea 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,4 @@ # https://www.npmjs.com/package/next-sitemap#building-sitemaps-with-pnpm enable-pre-post-scripts=true +# https://www.npmjs.com/package/next-sitemap#building-sitemaps-with-pnpm +enable-pre-post-scripts=true