maestrano/mnoe-admin-panel

View on GitHub

Showing 4 of 14 total issues

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

module.exports = function (config) {
  const configuration = {
    basePath: '../',
    singleRun: true,
    autoWatch: false,
Severity: Minor
Found in conf/karma.conf.js - About 1 hr to fix

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

    module.exports = function (config) {
      const configuration = {
        basePath: '../',
        singleRun: false,
        autoWatch: true,
    Severity: Minor
    Found in conf/karma-auto.conf.js - About 1 hr to fix

      Function build has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function build() {
        const partialsInjectFile = gulp.src(conf.path.tmp('templateCacheHtml.js'), {read: false});
        const partialsInjectOptions = {
          starttag: '<!-- inject:partials -->',
          ignorePath: conf.paths.tmp,
      Severity: Minor
      Found in gulp_tasks/build.js - About 1 hr to fix

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

        function styles() {
          var lessOptions = {
            compress: false,
            options: [
              'bower_components',
        Severity: Minor
        Found in gulp_tasks/styles.js - About 1 hr to fix
          Severity
          Category
          Status
          Source
          Language