Skip to content

Commit 8b31246

Browse files
author
Sami Vänttinen
authored
Merge pull request #2350 from keepassxreboot/fix/eslint_globals
Use non-deprecated globals with ESLint
2 parents aa288ff + edf7f6d commit 8b31246

File tree

1 file changed

+100
-100
lines changed

1 file changed

+100
-100
lines changed

.eslintrc

Lines changed: 100 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -80,106 +80,106 @@
8080
"vars-on-top": "off"
8181
},
8282
"globals": {
83-
"_called": true,
84-
"acceptedOTPFields": true,
85-
"assertInputFields": true,
86-
"assertPasswordChangeFields": true,
87-
"assertRegex": true,
88-
"assertSearchField": true,
89-
"assertSearchForm": true,
90-
"assertTOTPField": true,
91-
"AssociatedAction": true,
92-
"AuthenticatorAssertionResponse": true,
93-
"AuthenticatorAttestationResponse": true,
94-
"Autocomplete": true,
95-
"BLUE_BUTTON": true,
96-
"bootstrap": true,
97-
"browser": true,
98-
"browserAction": true,
99-
"CHECK_UPDATE_NEVER": true,
100-
"CHECK_UPDATE_ONE_MONTH": true,
101-
"CHECK_UPDATE_ONE_WEEK": true,
102-
"CHECK_UPDATE_THREE_DAYS": true,
103-
"cloneInto": true,
104-
"createResult": true,
105-
"createStylesheet": true,
106-
"DatabaseState": true,
107-
"debugLogMessage": true,
108-
"EXTENSION_NAME": true,
109-
"getCurrentTab": true,
110-
"getLoginData": true,
111-
"getTopLevelDomainFromUrl": true,
112-
"GRAY_BUTTON_CLASS": true,
113-
"GREEN_BUTTON": true,
114-
"httpAuth": true,
115-
"Icon": true,
116-
"IGNORE_AUTOSUBMIT": true,
117-
"IGNORE_FULL": true,
118-
"IGNORE_NORMAL": true,
119-
"IGNORE_NOTHING": true,
120-
"importScripts": true,
121-
"IMPROVED_DETECTION_PREDEFINED_SITELIST": true,
122-
"initColorTheme": true,
123-
"isEdge": true,
124-
"isFirefox": true,
125-
"keepass": true,
126-
"keepassClient": true,
127-
"kpActions": true,
128-
"kpErrors": true,
129-
"kpxc": true,
130-
"kpxcAssert": true,
131-
"kpxcBanner": true,
132-
"kpxcCustomLoginFieldsBanner": true,
133-
"kpxcEvent": true,
134-
"kpxcFields": true,
135-
"kpxcFill": true,
136-
"kpxcForm": true,
137-
"kpxcIcons": true,
138-
"kpxcObserverHelper": true,
139-
"kpxcPasswordGenerator": true,
140-
"kpxcPasswordIcons": true,
141-
"kpxcSites": true,
142-
"kpxcTOTPAutocomplete": true,
143-
"kpxcTOTPIcons": true,
144-
"kpxcUI": true,
145-
"kpxcUserAutocomplete": true,
146-
"kpxcUsernameIcons": true,
147-
"logDebug": true,
148-
"logError": true,
149-
"kpxcPasskeysUtils": true,
150-
"ManualFill": true,
151-
"matchesWithNodeName": true,
152-
"MAX_AUTOCOMPLETE_NAME_LEN": true,
153-
"MAX_OPACITY": true,
154-
"MAX_TOTP_INPUT_LENGTH": true,
155-
"menuContexts": true,
156-
"MIN_INPUT_FIELD_OFFSET_WIDTH": true,
157-
"MIN_INPUT_FIELD_WIDTH_PX": true,
158-
"MIN_OPACITY": true,
159-
"MIN_TOTP_INPUT_LENGTH": true,
160-
"module": true,
161-
"nacl": true,
162-
"ORANGE_BUTTON": true,
163-
"page": true,
164-
"Pixels": true,
165-
"PublicKeyCredential": true,
166-
"PREDEFINED_SITELIST": true,
167-
"RED_BUTTON": true,
168-
"retrieveColorScheme": true,
169-
"sendMessage": true,
170-
"showNotification": true,
171-
"siteMatch": true,
172-
"slashNeededForUrl": true,
173-
"SORT_BY_GROUP_AND_TITLE": true,
174-
"SORT_BY_GROUP_AND_USERNAME": true,
175-
"SORT_BY_MATCHING_CREDENTIALS_SETTING": true,
176-
"SORT_BY_RELEVANT_ENTRY": true,
177-
"SORT_BY_TITLE": true,
178-
"SORT_BY_USERNAME": true,
179-
"statusResponse": true,
180-
"Tests": true,
181-
"tr": true,
182-
"trimURL": true
83+
"_called": "readonly",
84+
"acceptedOTPFields": "readonly",
85+
"assertInputFields": "readonly",
86+
"assertPasswordChangeFields": "readonly",
87+
"assertRegex": "readonly",
88+
"assertSearchField": "readonly",
89+
"assertSearchForm": "readonly",
90+
"assertTOTPField": "readonly",
91+
"AssociatedAction": "readonly",
92+
"AuthenticatorAssertionResponse": "readonly",
93+
"AuthenticatorAttestationResponse": "readonly",
94+
"Autocomplete": "readonly",
95+
"BLUE_BUTTON": "readonly",
96+
"bootstrap": "readonly",
97+
"browser": "readonly",
98+
"browserAction": "readonly",
99+
"CHECK_UPDATE_NEVER": "readonly",
100+
"CHECK_UPDATE_ONE_MONTH": "readonly",
101+
"CHECK_UPDATE_ONE_WEEK": "readonly",
102+
"CHECK_UPDATE_THREE_DAYS": "readonly",
103+
"cloneInto": "readonly",
104+
"createResult": "readonly",
105+
"createStylesheet": "readonly",
106+
"DatabaseState": "readonly",
107+
"debugLogMessage": "readonly",
108+
"EXTENSION_NAME": "readonly",
109+
"getCurrentTab": "readonly",
110+
"getLoginData": "readonly",
111+
"getTopLevelDomainFromUrl": "readonly",
112+
"GRAY_BUTTON_CLASS": "readonly",
113+
"GREEN_BUTTON": "readonly",
114+
"httpAuth": "readonly",
115+
"Icon": "readonly",
116+
"IGNORE_AUTOSUBMIT": "readonly",
117+
"IGNORE_FULL": "readonly",
118+
"IGNORE_NORMAL": "readonly",
119+
"IGNORE_NOTHING": "readonly",
120+
"importScripts": "readonly",
121+
"IMPROVED_DETECTION_PREDEFINED_SITELIST": "readonly",
122+
"initColorTheme": "readonly",
123+
"isEdge": "readonly",
124+
"isFirefox": "readonly",
125+
"keepass": "readonly",
126+
"keepassClient": "readonly",
127+
"kpActions": "readonly",
128+
"kpErrors": "readonly",
129+
"kpxc": "readonly",
130+
"kpxcAssert": "readonly",
131+
"kpxcBanner": "readonly",
132+
"kpxcCustomLoginFieldsBanner": "readonly",
133+
"kpxcEvent": "readonly",
134+
"kpxcFields": "readonly",
135+
"kpxcFill": "readonly",
136+
"kpxcForm": "readonly",
137+
"kpxcIcons": "readonly",
138+
"kpxcObserverHelper": "readonly",
139+
"kpxcPasswordGenerator": "readonly",
140+
"kpxcPasswordIcons": "readonly",
141+
"kpxcSites": "readonly",
142+
"kpxcTOTPAutocomplete": "readonly",
143+
"kpxcTOTPIcons": "readonly",
144+
"kpxcUI": "readonly",
145+
"kpxcUserAutocomplete": "readonly",
146+
"kpxcUsernameIcons": "readonly",
147+
"logDebug": "readonly",
148+
"logError": "readonly",
149+
"kpxcPasskeysUtils": "readonly",
150+
"ManualFill": "readonly",
151+
"matchesWithNodeName": "readonly",
152+
"MAX_AUTOCOMPLETE_NAME_LEN": "readonly",
153+
"MAX_OPACITY": "readonly",
154+
"MAX_TOTP_INPUT_LENGTH": "readonly",
155+
"menuContexts": "readonly",
156+
"MIN_INPUT_FIELD_OFFSET_WIDTH": "readonly",
157+
"MIN_INPUT_FIELD_WIDTH_PX": "readonly",
158+
"MIN_OPACITY": "readonly",
159+
"MIN_TOTP_INPUT_LENGTH": "readonly",
160+
"module": "readonly",
161+
"nacl": "readonly",
162+
"ORANGE_BUTTON": "readonly",
163+
"page": "readonly",
164+
"Pixels": "readonly",
165+
"PublicKeyCredential": "readonly",
166+
"PREDEFINED_SITELIST": "readonly",
167+
"RED_BUTTON": "readonly",
168+
"retrieveColorScheme": "readonly",
169+
"sendMessage": "readonly",
170+
"showNotification": "readonly",
171+
"siteMatch": "readonly",
172+
"slashNeededForUrl": "readonly",
173+
"SORT_BY_GROUP_AND_TITLE": "readonly",
174+
"SORT_BY_GROUP_AND_USERNAME": "readonly",
175+
"SORT_BY_MATCHING_CREDENTIALS_SETTING": "readonly",
176+
"SORT_BY_RELEVANT_ENTRY": "readonly",
177+
"SORT_BY_TITLE": "readonly",
178+
"SORT_BY_USERNAME": "readonly",
179+
"statusResponse": "readonly",
180+
"Tests": "readonly",
181+
"tr": "readonly",
182+
"trimURL": "readonly"
183183
},
184184
"overrides": [
185185
{

0 commit comments

Comments
 (0)