UNPKG

react-huntglitch

Version:

A lightweight utility for sending error logs to HuntGlitch — supports both JS and TS.

30 lines (28 loc) 699 B
import js from "@eslint/js"; import tseslint from "typescript-eslint"; export default [ { ignores: ["dist/**", "node_modules/**"], // ✅ Ignore compiled files }, js.configs.recommended, ...tseslint.configs.recommended, { files: ["**/*.{js,ts}"], languageOptions: { parser: tseslint.parser, parserOptions: { ecmaVersion: 2020, sourceType: "module", }, globals: { process: "readonly", require: "readonly", module: "readonly", }, }, rules: { "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/explicit-module-boundary-types": "off" } } ];