18 lines
476 B
JavaScript
18 lines
476 B
JavaScript
// @ts-check
|
|
|
|
import js from "@eslint/js";
|
|
import { defineConfig } from "eslint/config";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default defineConfig({
|
|
extends: [js.configs.recommended, tseslint.configs.recommended],
|
|
basePath: "packages",
|
|
files: ["**/*.ts"],
|
|
linterOptions: {
|
|
reportUnusedDisableDirectives: "off", // Or use false / 0
|
|
},
|
|
rules: {
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
},
|
|
});
|