Bartekus/R3Fuse

View on GitHub

Showing 2 of 7 total issues

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

  render() {
    const { data } = this.props;
    const posts = data.allPosts && data.allPosts.edges;
    const isLoading = data.loading ? 'Loading...' : null;
    return (
Severity: Major
Found in client/src/app.js - About 3 hrs to fix

    Function server has 56 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    (async function server() {
      // Set up routes
      const router = (new KoaRouter())
        // Set-up a general purpose /ping route to check the server is alive
        .get('/ping', async ctx => {
    Severity: Major
    Found in client/kit/entry/server.js - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language