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, },