diff --git a/package.json b/package.json index a4626c9..52a6a30 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@fishbrain/eslint-config-monorepo", "private": true, "description": "ESLint configs for Fishbrain projects", - "version": "6.1.1", + "version": "6.1.2", "workspaces": [ "packages/*" ], diff --git a/packages/base/index.js b/packages/base/index.js index e688e8c..740916b 100644 --- a/packages/base/index.js +++ b/packages/base/index.js @@ -71,16 +71,19 @@ const customRulesTypescript = { }; export const configWithoutTypescript = [ - ...baseConfig, + eslint.configs.recommended, + { plugins: { prettier: prettierPlugin } }, // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access jestPlugin.configs['flat/recommended'], customRules, ]; + export const configWithoutJest = tseslint.config( ...baseConfig, customRules, customRulesTypescript, ); + export const config = tseslint.config( ...baseConfig, // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access diff --git a/packages/base/package.json b/packages/base/package.json index 4a3a5c5..d8510a7 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,7 +1,7 @@ { "name": "@fishbrain/eslint-config-base", "packageManager": "yarn@4.4.1", - "version": "6.1.1", + "version": "6.1.2", "type": "module", "exports": "./index.js", "scripts": { diff --git a/packages/react/package.json b/packages/react/package.json index 18fa7e2..c0d45fd 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@fishbrain/eslint-config-react", "packageManager": "yarn@4.4.1", - "version": "6.1.1", + "version": "6.1.2", "type": "module", "exports": "./index.js", "scripts": {