ya332/react-made-by

View on GitHub

Showing 4 of 12 total issues

Function registerValidSW has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function registerValidSW(swUrl, config) {
  navigator.serviceWorker
    .register(swUrl)
    .then(registration => {
      registration.onupdatefound = () => {
Severity: Minor
Found in example/src/serviceWorker.js - About 1 hr to fix

    Function MadeBy has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const MadeBy = (props) => {
        const { fadeStyle, ...fadeProps } = useFade();
    
        var componentStyle = handleCustomPosition(props.position, props.style);
    
    
    Severity: Minor
    Found in src/index.js - About 1 hr to fix

      Function MadeBy has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      const MadeBy = (props) => {
          const { fadeStyle, ...fadeProps } = useFade();
      
          var componentStyle = handleCustomPosition(props.position, props.style);
      
      
      Severity: Minor
      Found in example/src/MadeBy.js - About 1 hr to fix

        Function App has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function App() {
            return (
                <div className="App">
                    <header className="App-header">
                        <img src={logo} className="App-logo" alt="logo" />
        Severity: Minor
        Found in example/src/App.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language