cityssm/random-words

View on GitHub

Showing 2 of 2 total issues

File index.js has 256 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRandomWord = void 0;
const wordList = [
    "ability", "able", "aboard", "about", "above", "accept", "accident", "according",
Severity: Minor
Found in index.js - About 2 hrs to fix

    File index.ts has 252 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    const wordList = [
      // Borrowed from xkcd password generator which borrowed it from wherever
      "ability", "able", "aboard", "about", "above", "accept", "accident", "according",
      "account", "accurate", "acres", "across", "act", "action", "active", "activity",
      "actual", "actually", "add", "addition", "additional", "adjective", "adult", "adventure",
    Severity: Minor
    Found in index.ts - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language