Project

General

Profile

Actions

Bug #35558

closed

Fix current lint warnings

Added by Maria Agaphontzev about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

/foreman/webpack/assets/javascripts/react_app/components/HostDetails/ActionsBar/index.js
  142:56  warning  You have a misspelled word: rex on String          spellcheck/spell-checker
  156:31  warning  You have a misspelled word: hostdetails on String  spellcheck/spell-checker

/foreman/webpack/assets/javascripts/react_app/components/HostDetails/DetailsCard/index.js
  54:38  warning  You have a misspelled word: Pv6 on String  spellcheck/spell-checker
  69:38  warning  You have a misspelled word: Pv4 on String  spellcheck/spell-checker

/foreman/webpack/assets/javascripts/react_app/components/common/forms/CounterInput/CounterInput.js
  32:6  warning  React Hook useEffect has missing dependencies: 'setError' and 'setWarning'. Either include them or remove the dependency array. If 'setWarning' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
Actions

Also available in: Atom PDF