Files
proxui/frontend/eslint.config.js
T

23 lines
464 B
JavaScript

import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config(
{
ignores: ["dist/**", "node_modules/**"]
},
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ["src/**/*.{ts,tsx}", "*.ts"],
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
globals: {
document: "readonly",
console: "readonly",
window: "readonly"
}
}
}
);