maafaishal/nextjs-blog

View on GitHub

Showing 2 of 4 total issues

Function getInitialProps has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

MyDocument.getInitialProps = ctx => {
  // Resolution order
  //
  // On the server:
  // 1. app.getInitialProps
Severity: Minor
Found in pages/_document.js - About 1 hr to fix

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

      render () {
        const { pageContext } = this.props
        return (
          <html lang="en" dir="ltr">
            <Head>
    Severity: Minor
    Found in pages/_document.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language