Skip to content

Commit d7da881

Browse files
committed
Changed global api to readonly
1 parent 9dc2992 commit d7da881

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

amazongpt/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
languageOptions: {
1515
ecmaVersion: 'latest', sourceType: 'script',
1616
globals: {
17-
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'writable', apis: 'writable',
17+
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'readonly', apis: 'writable',
1818
app: 'writable', buttons: 'writable', chatgpt: 'readonly', config: 'writable', CryptoJS: 'readonly',
1919
cryptoUtils: 'readonly', dom: 'readonly', env: 'writable', feedback: 'readonly',
2020
fontSizeSlider: 'writable', get: 'readonly', GM_cookie: 'readonly', hljs: 'readonly', icons: 'readonly',

bravegpt/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
languageOptions: {
1515
ecmaVersion: 'latest', sourceType: 'script',
1616
globals: {
17-
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'writable', apis: 'writable',
17+
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'readonly', apis: 'writable',
1818
app: 'writable', buttons: 'writable', chatgpt: 'readonly', config: 'writable', CryptoJS: 'readonly',
1919
cryptoUtils: 'readonly', dom: 'readonly', env: 'writable', feedback: 'readonly',
2020
fontSizeSlider: 'writable', get: 'readonly', GM_cookie: 'readonly', hljs: 'readonly', icons: 'readonly',

duckduckgpt/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
languageOptions: {
1515
ecmaVersion: 'latest', sourceType: 'script',
1616
globals: {
17-
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'writable', apis: 'writable',
17+
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'readonly', apis: 'writable',
1818
app: 'writable', buttons: 'writable', chatgpt: 'readonly', config: 'writable', CryptoJS: 'readonly',
1919
cryptoUtils: 'readonly', dom: 'readonly', env: 'writable', feedback: 'readonly',
2020
fontSizeSlider: 'writable', get: 'readonly', GM_cookie: 'readonly', hljs: 'readonly', icons: 'readonly',

googlegpt/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
languageOptions: {
1515
ecmaVersion: 'latest', sourceType: 'script',
1616
globals: {
17-
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'writable', apis: 'writable',
17+
...globals.browser, ...globals.greasemonkey, ...globals.node, api: 'readonly', apis: 'writable',
1818
app: 'writable', buttons: 'writable', chatgpt: 'readonly', config: 'writable', CryptoJS: 'readonly',
1919
cryptoUtils: 'readonly', dom: 'readonly', env: 'writable', feedback: 'readonly',
2020
fontSizeSlider: 'writable', get: 'readonly', GM_cookie: 'readonly', hljs: 'readonly', icons: 'readonly',

0 commit comments

Comments
 (0)