From f4b4416ea52d564bc2dbe543a82084ed98843ccc Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Fri, 30 Jul 2021 10:54:54 +0200 Subject: chore: migrate from tslint to @typescript-eslint (#1706) - update .eslintrc to work for .js and .ts - update devDependencies - lint properly both root /src and nested /packages - update webhint recommended setting for tsconfig.json to shrink output - Manage all eslint rules from the repo root - escape single quotes in scripts to please windows build Co-authored-by: Vijay A --- src/features/communityRecipes/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features/communityRecipes') diff --git a/src/features/communityRecipes/store.js b/src/features/communityRecipes/store.js index acc1e52f6..b115a53e1 100644 --- a/src/features/communityRecipes/store.js +++ b/src/features/communityRecipes/store.js @@ -19,7 +19,7 @@ export class CommunityRecipesStore extends FeatureStore { if (!this.stores) return []; return this.stores.recipePreviews.dev.map((r) => { - r.isDevRecipe = !!r.author.find(a => a.email === this.stores.user.data.email); + r.isDevRecipe = !!r.author.find((a) => a.email === this.stores.user.data.email); return r; }); -- cgit v1.2.3-70-g09d2