mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #2350 from keepassxreboot/fix/eslint_globals
Use non-deprecated globals with ESLint
This commit is contained in:
commit
8b31246e11
1 changed files with 100 additions and 100 deletions
200
.eslintrc
200
.eslintrc
|
|
@ -80,106 +80,106 @@
|
||||||
"vars-on-top": "off"
|
"vars-on-top": "off"
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"_called": true,
|
"_called": "readonly",
|
||||||
"acceptedOTPFields": true,
|
"acceptedOTPFields": "readonly",
|
||||||
"assertInputFields": true,
|
"assertInputFields": "readonly",
|
||||||
"assertPasswordChangeFields": true,
|
"assertPasswordChangeFields": "readonly",
|
||||||
"assertRegex": true,
|
"assertRegex": "readonly",
|
||||||
"assertSearchField": true,
|
"assertSearchField": "readonly",
|
||||||
"assertSearchForm": true,
|
"assertSearchForm": "readonly",
|
||||||
"assertTOTPField": true,
|
"assertTOTPField": "readonly",
|
||||||
"AssociatedAction": true,
|
"AssociatedAction": "readonly",
|
||||||
"AuthenticatorAssertionResponse": true,
|
"AuthenticatorAssertionResponse": "readonly",
|
||||||
"AuthenticatorAttestationResponse": true,
|
"AuthenticatorAttestationResponse": "readonly",
|
||||||
"Autocomplete": true,
|
"Autocomplete": "readonly",
|
||||||
"BLUE_BUTTON": true,
|
"BLUE_BUTTON": "readonly",
|
||||||
"bootstrap": true,
|
"bootstrap": "readonly",
|
||||||
"browser": true,
|
"browser": "readonly",
|
||||||
"browserAction": true,
|
"browserAction": "readonly",
|
||||||
"CHECK_UPDATE_NEVER": true,
|
"CHECK_UPDATE_NEVER": "readonly",
|
||||||
"CHECK_UPDATE_ONE_MONTH": true,
|
"CHECK_UPDATE_ONE_MONTH": "readonly",
|
||||||
"CHECK_UPDATE_ONE_WEEK": true,
|
"CHECK_UPDATE_ONE_WEEK": "readonly",
|
||||||
"CHECK_UPDATE_THREE_DAYS": true,
|
"CHECK_UPDATE_THREE_DAYS": "readonly",
|
||||||
"cloneInto": true,
|
"cloneInto": "readonly",
|
||||||
"createResult": true,
|
"createResult": "readonly",
|
||||||
"createStylesheet": true,
|
"createStylesheet": "readonly",
|
||||||
"DatabaseState": true,
|
"DatabaseState": "readonly",
|
||||||
"debugLogMessage": true,
|
"debugLogMessage": "readonly",
|
||||||
"EXTENSION_NAME": true,
|
"EXTENSION_NAME": "readonly",
|
||||||
"getCurrentTab": true,
|
"getCurrentTab": "readonly",
|
||||||
"getLoginData": true,
|
"getLoginData": "readonly",
|
||||||
"getTopLevelDomainFromUrl": true,
|
"getTopLevelDomainFromUrl": "readonly",
|
||||||
"GRAY_BUTTON_CLASS": true,
|
"GRAY_BUTTON_CLASS": "readonly",
|
||||||
"GREEN_BUTTON": true,
|
"GREEN_BUTTON": "readonly",
|
||||||
"httpAuth": true,
|
"httpAuth": "readonly",
|
||||||
"Icon": true,
|
"Icon": "readonly",
|
||||||
"IGNORE_AUTOSUBMIT": true,
|
"IGNORE_AUTOSUBMIT": "readonly",
|
||||||
"IGNORE_FULL": true,
|
"IGNORE_FULL": "readonly",
|
||||||
"IGNORE_NORMAL": true,
|
"IGNORE_NORMAL": "readonly",
|
||||||
"IGNORE_NOTHING": true,
|
"IGNORE_NOTHING": "readonly",
|
||||||
"importScripts": true,
|
"importScripts": "readonly",
|
||||||
"IMPROVED_DETECTION_PREDEFINED_SITELIST": true,
|
"IMPROVED_DETECTION_PREDEFINED_SITELIST": "readonly",
|
||||||
"initColorTheme": true,
|
"initColorTheme": "readonly",
|
||||||
"isEdge": true,
|
"isEdge": "readonly",
|
||||||
"isFirefox": true,
|
"isFirefox": "readonly",
|
||||||
"keepass": true,
|
"keepass": "readonly",
|
||||||
"keepassClient": true,
|
"keepassClient": "readonly",
|
||||||
"kpActions": true,
|
"kpActions": "readonly",
|
||||||
"kpErrors": true,
|
"kpErrors": "readonly",
|
||||||
"kpxc": true,
|
"kpxc": "readonly",
|
||||||
"kpxcAssert": true,
|
"kpxcAssert": "readonly",
|
||||||
"kpxcBanner": true,
|
"kpxcBanner": "readonly",
|
||||||
"kpxcCustomLoginFieldsBanner": true,
|
"kpxcCustomLoginFieldsBanner": "readonly",
|
||||||
"kpxcEvent": true,
|
"kpxcEvent": "readonly",
|
||||||
"kpxcFields": true,
|
"kpxcFields": "readonly",
|
||||||
"kpxcFill": true,
|
"kpxcFill": "readonly",
|
||||||
"kpxcForm": true,
|
"kpxcForm": "readonly",
|
||||||
"kpxcIcons": true,
|
"kpxcIcons": "readonly",
|
||||||
"kpxcObserverHelper": true,
|
"kpxcObserverHelper": "readonly",
|
||||||
"kpxcPasswordGenerator": true,
|
"kpxcPasswordGenerator": "readonly",
|
||||||
"kpxcPasswordIcons": true,
|
"kpxcPasswordIcons": "readonly",
|
||||||
"kpxcSites": true,
|
"kpxcSites": "readonly",
|
||||||
"kpxcTOTPAutocomplete": true,
|
"kpxcTOTPAutocomplete": "readonly",
|
||||||
"kpxcTOTPIcons": true,
|
"kpxcTOTPIcons": "readonly",
|
||||||
"kpxcUI": true,
|
"kpxcUI": "readonly",
|
||||||
"kpxcUserAutocomplete": true,
|
"kpxcUserAutocomplete": "readonly",
|
||||||
"kpxcUsernameIcons": true,
|
"kpxcUsernameIcons": "readonly",
|
||||||
"logDebug": true,
|
"logDebug": "readonly",
|
||||||
"logError": true,
|
"logError": "readonly",
|
||||||
"kpxcPasskeysUtils": true,
|
"kpxcPasskeysUtils": "readonly",
|
||||||
"ManualFill": true,
|
"ManualFill": "readonly",
|
||||||
"matchesWithNodeName": true,
|
"matchesWithNodeName": "readonly",
|
||||||
"MAX_AUTOCOMPLETE_NAME_LEN": true,
|
"MAX_AUTOCOMPLETE_NAME_LEN": "readonly",
|
||||||
"MAX_OPACITY": true,
|
"MAX_OPACITY": "readonly",
|
||||||
"MAX_TOTP_INPUT_LENGTH": true,
|
"MAX_TOTP_INPUT_LENGTH": "readonly",
|
||||||
"menuContexts": true,
|
"menuContexts": "readonly",
|
||||||
"MIN_INPUT_FIELD_OFFSET_WIDTH": true,
|
"MIN_INPUT_FIELD_OFFSET_WIDTH": "readonly",
|
||||||
"MIN_INPUT_FIELD_WIDTH_PX": true,
|
"MIN_INPUT_FIELD_WIDTH_PX": "readonly",
|
||||||
"MIN_OPACITY": true,
|
"MIN_OPACITY": "readonly",
|
||||||
"MIN_TOTP_INPUT_LENGTH": true,
|
"MIN_TOTP_INPUT_LENGTH": "readonly",
|
||||||
"module": true,
|
"module": "readonly",
|
||||||
"nacl": true,
|
"nacl": "readonly",
|
||||||
"ORANGE_BUTTON": true,
|
"ORANGE_BUTTON": "readonly",
|
||||||
"page": true,
|
"page": "readonly",
|
||||||
"Pixels": true,
|
"Pixels": "readonly",
|
||||||
"PublicKeyCredential": true,
|
"PublicKeyCredential": "readonly",
|
||||||
"PREDEFINED_SITELIST": true,
|
"PREDEFINED_SITELIST": "readonly",
|
||||||
"RED_BUTTON": true,
|
"RED_BUTTON": "readonly",
|
||||||
"retrieveColorScheme": true,
|
"retrieveColorScheme": "readonly",
|
||||||
"sendMessage": true,
|
"sendMessage": "readonly",
|
||||||
"showNotification": true,
|
"showNotification": "readonly",
|
||||||
"siteMatch": true,
|
"siteMatch": "readonly",
|
||||||
"slashNeededForUrl": true,
|
"slashNeededForUrl": "readonly",
|
||||||
"SORT_BY_GROUP_AND_TITLE": true,
|
"SORT_BY_GROUP_AND_TITLE": "readonly",
|
||||||
"SORT_BY_GROUP_AND_USERNAME": true,
|
"SORT_BY_GROUP_AND_USERNAME": "readonly",
|
||||||
"SORT_BY_MATCHING_CREDENTIALS_SETTING": true,
|
"SORT_BY_MATCHING_CREDENTIALS_SETTING": "readonly",
|
||||||
"SORT_BY_RELEVANT_ENTRY": true,
|
"SORT_BY_RELEVANT_ENTRY": "readonly",
|
||||||
"SORT_BY_TITLE": true,
|
"SORT_BY_TITLE": "readonly",
|
||||||
"SORT_BY_USERNAME": true,
|
"SORT_BY_USERNAME": "readonly",
|
||||||
"statusResponse": true,
|
"statusResponse": "readonly",
|
||||||
"Tests": true,
|
"Tests": "readonly",
|
||||||
"tr": true,
|
"tr": "readonly",
|
||||||
"trimURL": true
|
"trimURL": "readonly"
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue