Cyclone@CycloneDell MINGW64 /c/Cyclone/workspace/otus-reactjs-hw (hw-02_board_lint-githook) $ git diff diff --git a/src/components/Board/Cell.tsx b/src/components/Board/Cell.tsx index 5ba3c80..598334d 100644 --- a/src/components/Board/Cell.tsx +++ b/src/components/Board/Cell.tsx @@ -1,7 +1,7 @@ import React from "react"; interface Props { - highlighted: boolean; + highlighted: boolean; rowIndex: number; colIndex: number; cellClicked: (row: number, col: number) => void; Cyclone@CycloneDell MINGW64 /c/Cyclone/workspace/otus-reactjs-hw (hw-02_board_lint-githook) $ git add src/components/Board/Cell.tsx Cyclone@CycloneDell MINGW64 /c/Cyclone/workspace/otus-reactjs-hw (hw-02_board_lint-githook) $ git commit -m "test lint-staged" [STARTED] Preparing... [SUCCESS] Preparing... [STARTED] Running tasks... [STARTED] Running tasks for *.{js,jsx,ts,tsx,json} [STARTED] eslint --cache --fix [SUCCESS] eslint --cache --fix [SUCCESS] Running tasks for *.{js,jsx,ts,tsx,json} [SUCCESS] Running tasks... [STARTED] Applying modifications... [FAILED] Prevented an empty git commit! [STARTED] Reverting to original state because of errors... [SUCCESS] Reverting to original state because of errors... [STARTED] Cleaning up... [SUCCESS] Cleaning up... ⚠ lint-staged prevented an empty git commit. Use the --allow-empty option to continue, or check your task configuration