Загрузка данных


✔ Backed up original state in git stash (1f20a91)
⚠ Running tasks for staged files...
  ❯ package.json — 3 files
    ❯ *.{ts,tsx,js,jsx} — 2 files
      ✖ eslint --fix --ignore-pattern src/gnr/** [FAILED]
↓ Skipped because of errors from tasks.
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...

✖ eslint --fix --ignore-pattern src/gnr/**:

C:\Users\SMizynchuk\Documents\telinfo\telinfo-frontend\src\pages\categories\components\import-dynamics\CategoryImportDynamicsPage.tsx
  174:15  error    Empty block statement                                                                                                     no-empty
  186:6   warning  React Hook useEffect has a missing dependency: 'watchers.attribute.id'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
  236:6   warning  React Hook useEffect has a missing dependency: 'getTemplateFile'. Either include it or remove the dependency array        react-hooks/exhaustive-deps

C:\Users\SMizynchuk\Documents\telinfo\telinfo-frontend\src\pages\categories\components\import-tas\CategoryImportTasPage.tsx
  198:15  error    Empty block statement                                                                                                                                    no-empty
  210:6   warning  React Hook useEffect has missing dependencies: 'watchers.id.id' and 'watchers.targetAttributeId.id'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  257:6   warning  React Hook useEffect has a missing dependency: 'getFile'. Either include it or remove the dependency array                                               react-hooks/exhaustive-deps

✖ 6 problems (2 errors, 4 warnings)

husky - pre-commit script failed (code 1)