fukuiretu/nuxt-user-agent

View on GitHub

Showing 2 of 2 total issues

UA has 22 functions (exceeds 20 allowed). Consider refactoring.
Open

export class UA {
  private _ua: string;
  private _parsed: woothee.UserAgent;

  constructor(ua: string) {
Severity: Minor
Found in src/plugin.template.ts - About 2 hrs to fix

    UA has 22 functions (exceeds 20 allowed). Consider refactoring.
    Open

    export class UA {
        constructor(ua) {
            this._ua = ua;
            this._parsed = woothee.parse(ua);
        }
    Severity: Minor
    Found in lib/plugin.template.js - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language