TryGhost/Ghost

View on GitHub
ghost/admin/ember-cli-build.js

Summary

Maintainability
C
7 hrs
Test Coverage

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

module.exports = function (defaults) {
    let app = new EmberApp(defaults, {
        addons: {denylist},
        babel: {
            plugins: [
Severity: Major
Found in ghost/admin/ember-cli-build.js - About 6 hrs to fix

    Function codemirrorAssets has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const codemirrorAssets = function () {
        let codemirrorFiles = [
            'lib/codemirror.js',
            'mode/htmlmixed/htmlmixed.js',
            'mode/xml/xml.js',
    Severity: Minor
    Found in ghost/admin/ember-cli-build.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status