ILyaCyclone icon

Untitled

ILyaCyclone | PRO | 03/30/21 08:44:04 PM UTC | 0 ⭐ | 13254 👁️ | Never ⏰ | []
Diff |

1.4 KB

|

None

|

0 👍

/

0 👎

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        
 

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎