Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit a0df722

Browse files
fix: fixed linter config for server
1 parent ef7b9a4 commit a0df722

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

eslint.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,18 @@ export default [
2424
'react-hooks/rules-of-hooks': 'error',
2525
'react-hooks/exhaustive-deps': 'warn'
2626
}
27+
},
28+
{
29+
files: ['demo/server/**/*.js'],
30+
languageOptions: {
31+
ecmaVersion: 'latest',
32+
sourceType: 'module',
33+
globals: {
34+
fetch: 'readonly'
35+
}
36+
},
37+
env: {
38+
node: true
39+
}
2740
}
2841
];

0 commit comments

Comments
 (0)