2025-10-01 11:26:49 -07:00
|
|
|
import eslint from "@eslint/js";
|
|
|
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
|
import tseslint from "typescript-eslint";
|
2025-10-01 12:39:04 -07:00
|
|
|
import nodeImport from "eslint-plugin-node-import";
|
2025-09-29 21:15:02 -07:00
|
|
|
|
2025-10-01 12:39:04 -07:00
|
|
|
export default defineConfig(eslint.configs.recommended, tseslint.configs.recommended, {
|
|
|
|
|
plugins: {
|
|
|
|
|
"node-import": nodeImport,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
|
"node-import/prefer-node-protocol": 2,
|
|
|
|
|
},
|
|
|
|
|
});
|