module.exports = {
  root: false,
  env: {
    jasmine: true,
  },
  extends: [
    "../../.eslintrc.js",
    "plugin:jasmine/recommended",
  ],
  plugins: [
    "jasmine",
  ],
  "globals": {
    "$": true,
    "input": true,
    "iti": true,
    "totalCountries": true,
    "totalDialCodes": true,
    "afghanistanDialCode": true,
    "intlSetup": true,
    "intlTeardown": true,
    "getInputVal": true,
    "getParentElement": true,
    "getHiddenInputs": true,
    "getDropdownContent": true,
    "getSearchInput": true,
    "getListElement": true,
    "getListLength": true,
    "getActiveListItem": true,
    "getPreferredCountriesLength": true,
    "getSelectedCountryContainer": true,
    "getSelectedCountryElement": true,
    "getSelectedDialCodeElement": true,
    "getCountryContainerElement": true,
    "selectCountry": true,
    "openCountryDropDown": true,
    "putCursorAtEnd": true,
    "selectInputChars": true,
    "triggerInputEvent": true,
    "triggerKey": true,
    "triggerKeyOnInput": true,
    "triggerKeyOnBody": true,
    "triggerKeyOnCountryContainerElement": true,
    "intlTelInputUtils": true,
    "useIntlTelInputBuild": true,
  },
  rules: {
    "@typescript-eslint/no-unused-vars": "off",
    "jasmine/prefer-toHaveBeenCalledWith": "off",
    "jasmine/no-spec-dupes": "off",
    "jasmine/no-suite-dupes": "off",
  },
};
