mirror of
https://git.victorphan.net/basketballcantho/zalo-monitor.git
synced 2026-08-05 06:13:10 +07:00
22 lines
575 B
JavaScript
22 lines
575 B
JavaScript
import js from "@eslint/js";
|
|
import globals from "globals";
|
|
import tseslint from "typescript-eslint";
|
|
import { defineConfig, globalIgnores } from "eslint/config";
|
|
|
|
export default defineConfig([
|
|
{
|
|
files: ["**/*.{js,ts}"],
|
|
plugins: { js },
|
|
extends: ["js/recommended"],
|
|
languageOptions: { globals: globals.node },
|
|
},
|
|
tseslint.configs.recommended,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/consistent-type-imports": "error",
|
|
"no-extra-boolean-cast": "off",
|
|
},
|
|
},
|
|
globalIgnores(["dist/*"]),
|
|
]);
|