Files
Termix/eslint.config.js
T

24 lines
617 B
JavaScript
Raw Normal View History

2025-09-12 14:42:00 -05:00
import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import tseslint from "typescript-eslint";
import { globalIgnores } from "eslint/config";
2025-08-07 02:20:27 -05:00
export default tseslint.config([
2025-09-12 14:42:00 -05:00
globalIgnores(["dist"]),
2025-08-07 02:20:27 -05:00
{
2025-09-12 14:42:00 -05:00
files: ["**/*.{ts,tsx}"],
2025-08-07 02:20:27 -05:00
extends: [
js.configs.recommended,
tseslint.configs.recommended,
2025-09-12 14:42:00 -05:00
reactHooks.configs["recommended-latest"],
2025-08-07 02:20:27 -05:00
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
2025-09-12 14:42:00 -05:00
]);