Skip to content

Commit cd44583

Browse files
committed
Added config + settings to JS globals
1 parent 8e69473 commit cd44583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export default [
1313
languageOptions: {
1414
ecmaVersion: 'latest', sourceType: 'script',
1515
globals: {
16-
...globals.browser, ...globals.greasemonkey, ...globals.node,
17-
chatgpt: 'readonly', chrome: 'readonly', CryptoJS: 'readonly', dom: 'readonly'
16+
...globals.browser, ...globals.greasemonkey, ...globals.node, chatgpt: 'readonly', chrome: 'readonly',
17+
config: 'writable', CryptoJS: 'readonly', dom: 'readonly', settings: 'writable'
1818
}
1919
},
2020
plugins: { regexp, 'js-styles': stylisticJS },

0 commit comments

Comments
 (0)