Skip to content

Commit cb17c43

Browse files
committed
chore: add browser env globals to eslint config
1 parent ebb4ee6 commit cb17c43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const tsLanguageOptions = {
112112
parserOptions: tsParserOptions,
113113
globals: /** @type {const} */ ({
114114
...Legacy.environments.get('2022')?.globals,
115+
...Legacy.environments.get('browser')?.globals,
115116
NoInfer: 'readonly',
116117
}),
117118
};

0 commit comments

Comments
 (0)