Skip to content

Commit c846664

Browse files
committed
chore: Update ESLint global environment from browser to node in api and github-service configurations.
1 parent 81f563b commit c846664

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

api/eslint.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig([
88
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
99
plugins: { js },
1010
extends: ["js/recommended"],
11-
languageOptions: { globals: globals.browser },
11+
languageOptions: { globals: globals.node },
1212
},
1313
tseslint.configs.recommended,
1414
]);

github-service/eslint.config.mts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import tseslint from "typescript-eslint";
44
import { defineConfig } from "eslint/config";
55

66
export default defineConfig([
7-
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"], languageOptions: { globals: globals.browser } },
7+
{
8+
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
9+
plugins: { js },
10+
extends: ["js/recommended"],
11+
languageOptions: { globals: globals.node },
12+
},
813
tseslint.configs.recommended,
914
]);

0 commit comments

Comments
 (0)