hypery2k/generator-tvml

View on GitHub

Showing 5 of 27 total issues

Function xcode has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    xcode: function () {
      mkdirp(this.appname + '/dist');

      // Xcode
      this.fs.copyTpl(
Severity: Major
Found in app/index.js - About 2 hrs to fix

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

module.exports = function (grunt) {

  var webpackConfig = require("./webpack.config.js");

  grunt.initConfig({
Severity: Major
Found in app/templates/TvmlApp/Gruntfile.js - About 2 hrs to fix

File index.js has 262 lines of code (exceeds 250 allowed). Consider refactoring.
Open

'use strict';
var generators = require('yeoman-generator');
var yosay = require('yosay');
var chalk = require('chalk');
var mkdirp = require('mkdirp');
Severity: Minor
Found in app/index.js - About 2 hrs to fix

Function onLaunch has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

App.onLaunch = function (options) {
    var demoPage = ATV.Page.create({
        name: 'demo',
        style: myPageStyles,
        template: listTemplate,
Severity: Minor
Found in app/templates/TvmlApp/src/application.js - About 1 hr to fix

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

  prompting: function () {
    var done = this.async();

    if (!this.options['skip-welcome-message']) {
      this.log(yosay('I create a scaffold for JavasScript-based TVML tvOS Apps.'));
Severity: Minor
Found in app/index.js - About 1 hr to fix
Severity
Category
Status
Source
Language