Note: Project is in alpha. API may change
The linter config should target the server bundle, not client.
Install
npm install @menglinmaker/eslint-plugin-runtime-compat
Add eslint.config.mjs
to root. This detects incompatible APIs for all runtimes in the dataset.
import runtimeCompat from "@menglinmaker/eslint-plugin-runtime-compat";
export default [runtimeCompat.configs.strict];
Alternatively, you can load a custom config:
```Bash
export default [runtimeCompat.configs.custom(['node', 'bun', 'deno'])];