Move from prettier-eslint to eslint-plugin-prettier, update dependencies

This commit is contained in:
Maksim Eltyshev
2020-02-03 18:42:31 +05:00
parent 1f43d4f214
commit 45bde7e7c0
254 changed files with 5539 additions and 5170 deletions
+2 -4
View File
@@ -15,9 +15,7 @@ import { ReactComponent as PlusMathIcon } from '../../assets/images/plus-math-ic
import styles from './List.module.css';
const List = React.memo(
({
id, index, name, isPersisted, cardIds, onUpdate, onDelete, onCardCreate,
}) => {
({ id, index, name, isPersisted, cardIds, onUpdate, onDelete, onCardCreate }) => {
const [t] = useTranslation();
const addCard = useRef(null);
@@ -30,7 +28,7 @@ const List = React.memo(
}, [isPersisted]);
const handleNameUpdate = useCallback(
(newName) => {
newName => {
onUpdate({
name: newName,
});