MSakamaki/ngx-onesignal

View on GitHub

Showing 6 of 33 total issues

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

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
Severity: Minor
Found in sandbox/9/karma.conf.js - About 1 hr to fix

    Function replaceServiceWorkerScript has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function replaceServiceWorkerScript(options: ngxOneSignalSchema): Rule {
      return (tree: Tree, context: SchematicContext) => {
        const workspace = getWorkspace(tree);
        const project = getProjectFromWorkspace(workspace, options.project);
        const modulePath = getAppModulePath(tree, getProjectMainFile(project));
    Severity: Minor
    Found in tools/schematics/ng-add/setup.ts - About 1 hr to fix

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

      module.exports = function (config) {
        config.set({
          basePath: '',
          frameworks: ['jasmine', '@angular-devkit/build-angular'],
          plugins: [
      Severity: Minor
      Found in sandbox/10/karma.conf.js - About 1 hr to fix

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

        module.exports = function (config) {
          config.set({
            basePath: '',
            frameworks: ['jasmine', '@angular-devkit/build-angular'],
            plugins: [
        Severity: Minor
        Found in projects/ngx-onesignal/karma.conf.js - About 1 hr to fix

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

          module.exports = function (config) {
            config.set({
              basePath: '',
              frameworks: ['jasmine', '@angular-devkit/build-angular'],
              plugins: [
          Severity: Minor
          Found in sandbox/8/karma.conf.js - About 1 hr to fix

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

            module.exports = function (config) {
              config.set({
                basePath: '',
                frameworks: ['jasmine', '@angular-devkit/build-angular'],
                plugins: [
            Severity: Minor
            Found in src/karma.conf.js - About 1 hr to fix
              Severity
              Category
              Status
              Source
              Language