kevinchappell/ng-i18n

View on GitHub

Showing 2 of 2 total issues

Function I18N has 98 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function I18N($rootScope, $http) {
      var i18n = this,
        langs = {},
        current = $rootScope.lang || sessionStorage.getItem('locale') || config.default.locale,
        localeKey = '#__locale__#',
Severity: Major
Found in src/ng-i18n-provider.js - About 3 hrs to fix

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

    module.exports = function(config) {
      config.set({
    
        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: '',
    Severity: Minor
    Found in karma.conf.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language