From ffaf7e89f738fe55c41add7655103d0726d46a6c Mon Sep 17 00:00:00 2001 From: Jamie Rolfs Date: Tue, 28 Feb 2023 12:45:46 -0800 Subject: [PATCH] fix(config/eslint): update `devDependencies` exclusion to include `.mjs` --- src/config/__tests__/__snapshots__/eslintrc.js.snap | 4 ++-- src/config/helpers/build-eslint.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/__tests__/__snapshots__/eslintrc.js.snap b/src/config/__tests__/__snapshots__/eslintrc.js.snap index dedea51c..7a363ba8 100644 --- a/src/config/__tests__/__snapshots__/eslintrc.js.snap +++ b/src/config/__tests__/__snapshots__/eslintrc.js.snap @@ -113,7 +113,7 @@ Object { "jest/**", "test/**", "e2e/**", - "**/*.config.{js,cjs,ts}", + "**/*.config.{js,cjs,ts,mjs}", ], "optionalDependencies": false, }, @@ -246,7 +246,7 @@ Object { "jest/**", "test/**", "e2e/**", - "**/*.config.{js,cjs,ts}", + "**/*.config.{js,cjs,ts,mjs}", ], "optionalDependencies": false, }, diff --git a/src/config/helpers/build-eslint.js b/src/config/helpers/build-eslint.js index 28118d20..cd245bb3 100644 --- a/src/config/helpers/build-eslint.js +++ b/src/config/helpers/build-eslint.js @@ -62,7 +62,7 @@ const buildConfig = ({withReact = false} = {}) => { 'jest/**', 'test/**', 'e2e/**', - '**/*.config.{js,cjs,ts}', + '**/*.config.{js,cjs,ts,mjs}', ]), optionalDependencies: false, },