From 585be2aa1907531f9f7b9e7b7fc257a6cae4c323 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 15 Sep 2023 14:42:43 +0200 Subject: [PATCH] Fix prettier warnings --- front/.eslintrc.json | 1 - front/i18n/Translations.ts | 6 +++--- front/package.json | 4 ++-- front/views/VerifiedView.tsx | 1 - 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/front/.eslintrc.json b/front/.eslintrc.json index 501a0c8..766b2a8 100644 --- a/front/.eslintrc.json +++ b/front/.eslintrc.json @@ -17,7 +17,6 @@ "rules": { "react/react-in-jsx-scope": "off", "@typescript-eslint/no-unused-vars": "error", - "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-empty-function": "off", "no-restricted-imports": [ diff --git a/front/i18n/Translations.ts b/front/i18n/Translations.ts index 16e3a28..4e0b7c8 100644 --- a/front/i18n/Translations.ts +++ b/front/i18n/Translations.ts @@ -183,7 +183,7 @@ export const en = { noRecentSearches: 'No recent searches', avatar: 'Avatar', changeIt: 'Change It', - verified: "Verified", + verified: 'Verified', }; export const fr: typeof en = { @@ -369,7 +369,7 @@ export const fr: typeof en = { noRecentSearches: 'Aucune recherche récente', avatar: 'Avatar', changeIt: 'Modifier', - verified: "Verifié", + verified: 'Verifié', }; export const sp: typeof en = { @@ -560,5 +560,5 @@ export const sp: typeof en = { avatar: 'Avatar', changeIt: 'Cambialo', - verified: "Verified" + verified: 'Verified', }; diff --git a/front/package.json b/front/package.json index eccad8f..611a779 100644 --- a/front/package.json +++ b/front/package.json @@ -8,8 +8,8 @@ "ios": "expo start --ios", "web": "expo start --web", "eject": "expo eject", - "pretty:check": "prettier --check", - "pretty:write": "prettier --write", + "pretty:check": "prettier --check .", + "pretty:write": "prettier --write .", "lint": "eslint .", "test": "jest -i", "test:cov": "jest -i --coverage", diff --git a/front/views/VerifiedView.tsx b/front/views/VerifiedView.tsx index 37286c7..5e7603c 100644 --- a/front/views/VerifiedView.tsx +++ b/front/views/VerifiedView.tsx @@ -1,5 +1,4 @@ import { useEffect, useState } from 'react'; -import { useDispatch } from 'react-redux'; import API from '../API'; import { Text } from 'native-base'; import { useNavigation } from '../Navigation';