import js from "@eslint/js"; import tseslint from "typescript-eslint"; import react from "eslint-plugin-react"; import prettier from "eslint-config-prettier"; import globals from "globals"; export default tseslint.config( { ignores: ["dist/**", "node_modules/**"] }, js.configs.recommended, ...tseslint.configs.recommended, { files: ["src/**/*.{ts,tsx}"], plugins: { react }, languageOptions: { globals: { ...globals.browser } }, rules: { ...react.configs.recommended.rules, "react/react-in-jsx-scope": "off", "react/prop-types": "off" }, settings: { react: { version: "18.3" } } }, prettier );