theforeman/foreman

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "plugins": [
    "@theforeman/foreman",
    "spellcheck",
    "@theforeman/rules"
  ],
  "extends": "plugin:@theforeman/foreman/core",
  "rules": {
    "spellcheck/spell-checker": [
      "warn",
      {
        "comments": false,
        "identifiers": false,
        "strings": true,
        "lang": "en_US",
        "ignoreRequire": false,
        "skipWords": [
          "2xl",
          "45vh",
          "4xl",
          "ampm",
          "Ansible",
          "ascii",
          "auditable",
          "Autocompletion",
          "autogenerated",
          "bool",
          "bootable",
          "Borderless",
          "btns",
          "candlepin",
          "centos",
          "checkbox",
          "clearbutton",
          "clearfix",
          "comms",
          "consts",
          "cpu",
          "csrf",
          "csv",
          "datacenter",
          "datastore",
          "datastores",
          "datepicker",
          "datetime",
          "datetimepicker",
          "debian",
          "decrement", // should be removed once https://github.com/aotaduy/eslint-plugin-spellcheck/issues/67 is resolved.
          "devs",
          "dgettext",
          "dngettext",
          "donut",
          "dow",
          "dropdown",
          "dropdowns",
          "ec2",
          "erb",
          "fieldset",
          "fnc",
          "formatter",
          "fqdn",
          "func",
          "gettext",
          "glyphicon",
          "gpg",
          "graphql",
          "gridster",
          "hostdetails",
          "hostgroup",
          "hostgroups",
          "href",
          "hypervisor",
          "i386",
          "internets",
          "ip6",
          "IPv4",
          "IPv6",
          "javascript",
          "javascripts",
          "jed",
          "katello",
          "keybind",
          "keydown",
          "keypress",
          "klasses",
          "labelledby",
          "lang",
          "ldap",
          "loc",
          "locs",
          "lsi",
          "matcher",
          "menuitem",
          "monokai",
          "mousedown",
          "mouseup",
          "msg",
          "nailgun",
          "nat",
          "navitem",
          "netgroups",
          "networksurl",
          "ngettext",
          "nic",
          "nfs",
          "nonpersistent",
          "noopener",
          "noreferrer",
          "nowrap",
          "num",
          "numpad",
          "operatingsystem",
          "operatingsystems",
          "orderable",
          "orgs",
          "ownfield",
          "paravirtual",
          "patternfly",
          "pficon",
          "poolsurl",
          "popstate",
          "pqr",
          "ptable",
          "puppetclass",
          "puppetclasses",
          "pxe_loader",
          "Pv",
          "qcow2",
          "rbt",
          "readonly",
          "redhat",
          "redux",
          "refetches",
          "rendering",
          "repo",
          "resize",
          "rex",
          "rhel",
          "safemode",
          "sbs",
          "scrollable",
          "scsi",
          "securityfailure",
          "sizex",
          "sizey",
          "Solaris",
          "sparc",
          "storages",
          "stringified",
          "subcomponent",
          "subcomponents",
          "subnav",
          "subnet",
          "subnets",
          "substate",
          "svg",
          "testoption",
          "testoption",
          "textarea",
          "textfield",
          "tfm",
          "timepicker",
          "timerdelay",
          "timeseries",
          "tlv",
          "tooltip",
          "turbolinks",
          "twipsy",
          "txt",
          "typeahead",
          "ubuntu",
          "uncheck",
          "unencrypted",
          "unmount",
          "unordered",
          "unprocessable",
          "unselect",
          "unstyled",
          "virtualization",
          "vms",
          "vmware",
          "vnc",
          "vnic",
          "webpack",
          "wss",
          "x86_64",
          "xml",
          "xpi",
          "xyz",
          "yaml"
        ],
        "minLength": 3
      }
    ],
    "@theforeman/rules/require-ouiaid": ["error"]
  }
}