altereagle/blockforge

View on GitHub

Showing 3 of 48 total issues

Function watch has 95 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  watch(options = {}) {
    // Get the canvas to draw on
    // -------------------------
    const canvas = this.elements.canvas.getContext(`2d`);

Severity: Major
Found in library/blockforge/blockforge.js - About 3 hrs to fix

    Function exports has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = (options = {}) => {
      // Get options
      // -----------
      const serverName   = options.serverName;
      const clientFolder = options.clientFolder;
    Severity: Major
    Found in server.js - About 2 hrs to fix

      Function exports has 39 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      module.exports = (grunt) => {
        grunt.initConfig({
          pkg: `<json:package.json>`,
          watch: {
            "default": {
      Severity: Minor
      Found in Gruntfile.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language